20 #ifndef INCLUDE_RCF_FILESYSTEM_HPP 21 #define INCLUDE_RCF_FILESYSTEM_HPP 25 #include <RCF/Export.hpp> 26 #include <RCF/StdFileSystem.hpp> 31 typedef RCF_FILESYSTEM_NS::path
Path;
36 RCF_EXPORT std::wstring pathToWstring(
const Path & p);
37 RCF_EXPORT Path wstringToPath(
const std::wstring & ws);
39 RCF_EXPORT Path makeCanonical(
const Path& p);
41 RCF_EXPORT
void setLastWriteTime(
const Path& p, std::uint64_t writeTime);
42 RCF_EXPORT std::uint64_t getLastWriteTime(
const Path& p);
44 class RCF_EXPORT FsWrappers
47 static void copy(
const RCF_FILESYSTEM_NS::path& p1,
const RCF_FILESYSTEM_NS::path& p2);
48 static void rename(
const RCF_FILESYSTEM_NS::path& p1,
const RCF_FILESYSTEM_NS::path& p2);
49 static void remove(
const RCF_FILESYSTEM_NS::path& p1);
50 static void create_directories(
const RCF_FILESYSTEM_NS::path& p1);
51 static void remove_all(
const RCF_FILESYSTEM_NS::path& p1);
56 #endif // ! INCLUDE_RCF_FILESYSTEM_HPP RCF_FILESYSTEM_NS::path Path
Typedef for standard C++ path type.
Definition: FileSystem.hpp:31
Definition: AmiIoHandler.hpp:23