GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
oct-glob.cc File Reference
#include <algorithm>
#include <string>
#include "glob-wrappers.h"
#include "oct-glob.h"
#include "file-ops.h"
#include "file-stat.h"
#include "unwind-prot.h"
Include dependency graph for oct-glob.cc:

Go to the source code of this file.

Functions

bool fnmatch (const string_vector &pat, const std::string &str, int fnm_flags)
 
string_vector glob (const string_vector &pat)
 
static bool single_match_exists (const std::string &file)
 
string_vector windows_glob (const string_vector &pat)
 

Function Documentation

◆ fnmatch()

bool fnmatch ( const string_vector pat,
const std::string &  str,
int  fnm_flags 
)

◆ glob()

◆ single_match_exists()

static bool single_match_exists ( const std::string &  file)
static

Definition at line 57 of file oct-glob.cc.

Referenced by glob(), and windows_glob().

◆ windows_glob()