#include "filesystem_utils.hpp"#include <cstring>#include <string>#include <dirent.h>#include <limits.h>#include <stdlib.h>#include <sys/stat.h>#include <unistd.h>
Macros | |
| #define | PATH_SEPARATOR ':' |
| #define | DIRECTORY_SYMBOL '/' |
Functions | |
| bool | FileSysUtilsIsRegularFile (const std::string &path) |
| bool | FileSysUtilsIsDirectory (const std::string &path) |
| bool | FileSysUtilsPathExists (const std::string &path) |
| bool | FileSysUtilsIsAbsolutePath (const std::string &path) |
| bool | FileSysUtilsGetCurrentPath (std::string &path) |
| bool | FileSysUtilsGetParentPath (const std::string &file_path, std::string &parent_path) |
| bool | FileSysUtilsGetAbsolutePath (const std::string &path, std::string &absolute) |
| bool | FileSysUtilsGetCanonicalPath (const std::string &path, std::string &canonical) |
| bool | FileSysUtilsCombinePaths (const std::string &parent, const std::string &child, std::string &combined) |
| bool | FileSysUtilsParsePathList (const std::string &path_list, std::vector< std::string > &paths) |
| bool | FileSysUtilsFindFilesInPath (const std::string &path, std::vector< std::string > &files) |
| #define DIRECTORY_SYMBOL '/' |
| #define PATH_SEPARATOR ':' |
| bool FileSysUtilsCombinePaths | ( | const std::string & | parent, |
| const std::string & | child, | ||
| std::string & | combined | ||
| ) |
| bool FileSysUtilsFindFilesInPath | ( | const std::string & | path, |
| std::vector< std::string > & | files | ||
| ) |
| bool FileSysUtilsGetAbsolutePath | ( | const std::string & | path, |
| std::string & | absolute | ||
| ) |
| bool FileSysUtilsGetCanonicalPath | ( | const std::string & | path, |
| std::string & | canonical | ||
| ) |
| bool FileSysUtilsGetCurrentPath | ( | std::string & | path | ) |
| bool FileSysUtilsGetParentPath | ( | const std::string & | file_path, |
| std::string & | parent_path | ||
| ) |
| bool FileSysUtilsIsAbsolutePath | ( | const std::string & | path | ) |
| bool FileSysUtilsIsDirectory | ( | const std::string & | path | ) |
| bool FileSysUtilsIsRegularFile | ( | const std::string & | path | ) |
| bool FileSysUtilsParsePathList | ( | const std::string & | path_list, |
| std::vector< std::string > & | paths | ||
| ) |
| bool FileSysUtilsPathExists | ( | const std::string & | path | ) |