#include <dirent.h>
#include <sys/stat.h>
Go to the source code of this file.
|
static std::string | get_parent (std::string const &path, std::string *basename=nullptr) |
|
static void | glob (const std::string &directory, const std::string &spec, std::function< void(std::string const &) > fn, bool recursive=true, bool includeDirectories=false) |
|
static void | glob_rec (const std::string &directory, const std::string &wildchart, std::vector< std::string > &result, bool recursive, bool includeDirectories, const std::string &pathPrefix) |
|
static bool | isDir (const std::string &path, DIR *dir) |
|
static bool | isPathSeparator (char c) |
|
std::string | join (const std::string &base, const std::string &path) |
|
static bool | wildcmp (const char *string, const char *wild) |
|
static bool isDir |
( |
const std::string & |
path, |
|
|
DIR * |
dir |
|
) |
| |
|
static |
static bool isPathSeparator |
( |
char |
c | ) |
|
|
inlinestatic |
static bool wildcmp |
( |
const char * |
string, |
|
|
const char * |
wild |
|
) |
| |
|
static |
const char dir_separators[] = "/" |
const char native_separator = '/' |
|
static |