VAPOR3 3.9.4
|
Go to the source code of this file.
Namespaces | |
namespace | Wasp |
namespace | Wasp::FileUtils |
Enumerations | |
enum class | Wasp::FileUtils::FileType { Wasp::FileUtils::File , Wasp::FileUtils::Directory , Wasp::FileUtils::Other , Wasp::FileUtils::Does_Not_Exist } |
Functions | |
COMMON_API std::string | Wasp::FileUtils::ReadFileToString (const std::string &path) |
COMMON_API std::string | Wasp::FileUtils::HomeDir () |
COMMON_API std::string | Wasp::FileUtils::Basename (const std::string &path) |
COMMON_API std::string | Wasp::FileUtils::Dirname (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::CommonAncestor (const std::vector< std::string > &paths) |
COMMON_API std::string | Wasp::FileUtils::Extension (const std::string &path) |
COMMON_API std::string | Wasp::FileUtils::RemoveExtension (const std::string &path) |
COMMON_API std::string | Wasp::FileUtils::POSIXPathToWindows (std::string path) |
COMMON_API std::string | Wasp::FileUtils::POSIXPathToCurrentOS (const std::string &path) |
COMMON_API std::string | Wasp::FileUtils::CleanupPath (std::string path) |
COMMON_API long | Wasp::FileUtils::GetFileModifiedTime (const std::string &path) |
COMMON_API bool | Wasp::FileUtils::IsPathAbsolute (const std::string &path) |
COMMON_API bool | Wasp::FileUtils::Exists (const std::string &path) |
COMMON_API bool | Wasp::FileUtils::IsRegularFile (const std::string &path) |
COMMON_API bool | Wasp::FileUtils::IsDirectory (const std::string &path) |
COMMON_API bool | Wasp::FileUtils::IsSubpath (const std::string &dir, const std::string &path) |
COMMON_API bool | Wasp::FileUtils::AreSameFile (const std::string &pathA, const std::string &pathB) |
COMMON_API FileType | Wasp::FileUtils::GetFileType (const std::string &path) |
COMMON_API long long | Wasp::FileUtils::GetFileSize (const std::string &path) |
COMMON_API std::vector< std::string > | Wasp::FileUtils::ListFiles (const std::string &path) |
COMMON_API std::string | Wasp::FileUtils::JoinPaths (const std::vector< std::string > &paths) |
COMMON_API std::vector< std::string > | Wasp::FileUtils::SplitPath (std::string path) |
COMMON_API int | Wasp::FileUtils::MakeDir (const std::string &path) |
COMMON_API const char * | Wasp::FileUtils::LegacyBasename (const char *path) |
Variables | |
COMMON_API const std::string | Wasp::FileUtils::Separator |