41 bool overwriteExisting =
false);
46 bool overwriteExisting =
false,
47 bool createMissingDirectories =
true);
60 bool overwriteExisting =
false);
Filesystem operations for the native operating system.
Definition Filesystem.h:11
static void copyFile(const Path &srcFile, const Path &dstFile, bool overwriteExisting=false)
Copy a file to another destination. Both paths should represent a file.
Definition Filesystem.cpp:36
static Path makeRelative(const Path &src, const Path &base)
Definition Filesystem.cpp:95
static void copyFileToDirectory(const Path &srcFile, const Path &dstDir, bool overwriteExisting=false, bool createMissingDirectories=true)
Definition Filesystem.cpp:57
static bool hasDirectory(const Path &path)
Check if the path points to an existing directory.
Definition Filesystem.cpp:12
static void createDirectories(const Path &path)
Create a directory as specified by the path. Treat the path as a directory representation and create ...
Definition Filesystem.cpp:29
static void createDirectory(const Path &path)
Create a directory as specified by the path. Similar to createDirectories(), except that the parent d...
Definition Filesystem.cpp:22
static bool hasFile(const Path &path)
Check if the path points to an existing file.
Definition Filesystem.cpp:17
static void copy(const Path &srcPath, const Path &dstPath, bool overwriteExisting=false)
Copy a file or directory recursively to another destination. If srcPath is a file,...
Definition Filesystem.cpp:71
General path representation. Does not check whether the target actually exists (e....
Definition Path.h:21
The root for all renderer implementations.
Definition EEngineProject.h:6