Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::FileSystem::Operations Struct Reference

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)
 

Detailed Description

Low level filesystem API, requiring paths in native encoding (UTF-16 on Windows, UTF-8 elsewhere)

See also
SC::FileSystem is the higher level API that also handles paths in a different encoding is needed

The documentation for this struct was generated from the following file: