Low level filesystem API, requiring paths in native encoding (UTF-16 on Windows, UTF-8 elsewhere) More...
#include <FileSystem.h>
Static Public Member Functions | |
static Result | createSymbolicLink (StringSpan sourceFileOrDirectory, StringSpan linkFile) |
static Result | makeDirectory (StringSpan dir) |
static Result | exists (StringSpan path) |
static Result | existsAndIsDirectory (StringSpan path) |
static Result | existsAndIsFile (StringSpan path) |
static Result | existsAndIsLink (StringSpan path) |
static Result | makeDirectoryRecursive (StringSpan path) |
static Result | removeEmptyDirectory (StringSpan path) |
static Result | moveDirectory (StringSpan source, StringSpan destination) |
static Result | removeFile (StringSpan path) |
static Result | copyFile (StringSpan srcPath, StringSpan destPath, FileSystemCopyFlags flags) |
static Result | rename (StringSpan path, StringSpan newPath) |
static Result | copyDirectory (StringSpan srcPath, StringSpan destPath, FileSystemCopyFlags flags) |
static Result | removeDirectoryRecursive (StringSpan directory) |
static Result | getFileStat (StringSpan path, FileSystemStat &fileStat) |
static Result | setLastModifiedTime (StringSpan path, Time::Realtime time) |
static StringSpan | getExecutablePath (StringPath &executablePath) |
static StringSpan | getApplicationRootDirectory (StringPath &applicationRootDirectory) |
Low level filesystem API, requiring paths in native encoding (UTF-16 on Windows, UTF-8 elsewhere)