VAPOR3 3.9.4
|
Enumerations | |
enum class | FileType { File , Directory , Other , Does_Not_Exist } |
Functions | |
COMMON_API std::string | ReadFileToString (const std::string &path) |
COMMON_API std::string | HomeDir () |
COMMON_API std::string | Basename (const std::string &path) |
COMMON_API std::string | Dirname (const std::string &path) |
COMMON_API std::string | Realpath (const std::string &path) |
COMMON_API std::string | Relpath (std::string path, std::string to) |
COMMON_API std::string | CommonAncestor (const std::vector< std::string > &paths) |
COMMON_API std::string | Extension (const std::string &path) |
COMMON_API std::string | RemoveExtension (const std::string &path) |
COMMON_API std::string | POSIXPathToWindows (std::string path) |
COMMON_API std::string | POSIXPathToCurrentOS (const std::string &path) |
COMMON_API std::string | CleanupPath (std::string path) |
COMMON_API long | GetFileModifiedTime (const std::string &path) |
COMMON_API bool | IsPathAbsolute (const std::string &path) |
COMMON_API bool | Exists (const std::string &path) |
COMMON_API bool | IsRegularFile (const std::string &path) |
COMMON_API bool | IsDirectory (const std::string &path) |
COMMON_API bool | IsSubpath (const std::string &dir, const std::string &path) |
COMMON_API bool | AreSameFile (const std::string &pathA, const std::string &pathB) |
COMMON_API FileType | GetFileType (const std::string &path) |
COMMON_API long long | GetFileSize (const std::string &path) |
COMMON_API std::vector< std::string > | ListFiles (const std::string &path) |
COMMON_API std::string | JoinPaths (const std::vector< std::string > &paths) |
COMMON_API std::vector< std::string > | SplitPath (std::string path) |
COMMON_API int | MakeDir (const std::string &path) |
COMMON_API const char * | LegacyBasename (const char *path) |
Variables | |
COMMON_API const std::string | Separator |
|
strong |
Enumerator | |
---|---|
File | |
Directory | |
Other | |
Does_Not_Exist |
Definition at line 11 of file FileUtils.h.
COMMON_API bool Wasp::FileUtils::AreSameFile | ( | const std::string & | pathA, |
const std::string & | pathB | ||
) |
COMMON_API std::string Wasp::FileUtils::Basename | ( | const std::string & | path | ) |
COMMON_API std::string Wasp::FileUtils::CleanupPath | ( | std::string | path | ) |
COMMON_API std::string Wasp::FileUtils::CommonAncestor | ( | const std::vector< std::string > & | paths | ) |
COMMON_API std::string Wasp::FileUtils::Dirname | ( | const std::string & | path | ) |
COMMON_API bool Wasp::FileUtils::Exists | ( | const std::string & | path | ) |
COMMON_API std::string Wasp::FileUtils::Extension | ( | const std::string & | path | ) |
COMMON_API long Wasp::FileUtils::GetFileModifiedTime | ( | const std::string & | path | ) |
COMMON_API long long Wasp::FileUtils::GetFileSize | ( | const std::string & | path | ) |
COMMON_API FileType Wasp::FileUtils::GetFileType | ( | const std::string & | path | ) |
COMMON_API std::string Wasp::FileUtils::HomeDir | ( | ) |
COMMON_API bool Wasp::FileUtils::IsDirectory | ( | const std::string & | path | ) |
COMMON_API bool Wasp::FileUtils::IsPathAbsolute | ( | const std::string & | path | ) |
COMMON_API bool Wasp::FileUtils::IsRegularFile | ( | const std::string & | path | ) |
COMMON_API bool Wasp::FileUtils::IsSubpath | ( | const std::string & | dir, |
const std::string & | path | ||
) |
COMMON_API std::string Wasp::FileUtils::JoinPaths | ( | const std::vector< std::string > & | paths | ) |
COMMON_API const char * Wasp::FileUtils::LegacyBasename | ( | const char * | path | ) |
COMMON_API std::vector< std::string > Wasp::FileUtils::ListFiles | ( | const std::string & | path | ) |
COMMON_API int Wasp::FileUtils::MakeDir | ( | const std::string & | path | ) |
COMMON_API std::string Wasp::FileUtils::POSIXPathToCurrentOS | ( | const std::string & | path | ) |
COMMON_API std::string Wasp::FileUtils::POSIXPathToWindows | ( | std::string | path | ) |
COMMON_API std::string Wasp::FileUtils::ReadFileToString | ( | const std::string & | path | ) |
COMMON_API std::string Wasp::FileUtils::Realpath | ( | const std::string & | path | ) |
COMMON_API std::string Wasp::FileUtils::Relpath | ( | std::string | path, |
std::string | to | ||
) |
COMMON_API std::string Wasp::FileUtils::RemoveExtension | ( | const std::string & | path | ) |
COMMON_API std::vector< std::string > Wasp::FileUtils::SplitPath | ( | std::string | path | ) |
|
extern |