Skip to content

filesystem

std:std.filesystem

Namespace std.filesystem#
Enums
FileType FileType enumeration.
Functions
AppArgs Gets application command line arguments.
AppDir Gets application directory.
AppPath Gets the application file path.
ApplicationsDir Gets the filesystem directory of the Applications directory.
AssetsDir Gets the filesystem directory of the app's assets directory.
ChangeDir Changes the process current directory.
CopyDir Copies a directory.
CopyFile Copies a file.
CreateDir Creates a directory at a filesystem path.
CreateFile Creates a file at a filesystem path.
CurrentDir Gets the process current directory.
DataDir Gets the filesystem directory of the user Data.
DeleteDir Deletes a directory at a filesystem path.
DeleteFile Deletes a file at a filesystem path.
DesktopDir Gets the filesystem directory of the user's desktop directory.
DocumentsDir Gets the filesystem directory of the user Documents.
DownloadsDir Gets the filesystem directory of the user Downloads.
ExternalDir Gets the filesystem directory of the app's external storage directory.
ExtractDir Extracts the directory component from a filesystem path.
ExtractExt Extracts the extension component from a filesystem path.
ExtractRootDir Extracts the root directory from a file system path.
GetConfig Gets a global config setting.
GetEnv Gets an environment variable.
GetFileSize Gets the size of the file at a filesystem path.
GetFileTime Gets the time a file was most recently modified.
GetFileType Gets the type of the file at a filesystem path.
HomeDir Gets the filesystem directory of the user's home directory.
InternalDir Gets the filesystem directory of the app's internal storage directory.
IsRootDir Checks if a path is a root directory.
LoadDir Loads a directory.
MoviesDir Gets the filesystem directory of the user Movies.
OpenCFile Opens a 'C' file.
PicturesDir Gets the filesystem directory of the user Pictures.
RealPath Converts a path to a real path.
SetAssetsDir Changes the assets dir.
SetConfig Sets a global config setting.
SetEnv Sets an environment variable.
StripDir Strips the directory component from a filesystem path.
StripExt Strips the extension component from a filesystem path.
StripSlashes Strips any trailing slashes from a filesystem path.
UserDir Gets the filesystem directory of the user.
Consts
FILETYPE_DIR
FILETYPE_FILE
FILETYPE_NONE
FILETYPE_UNKNOWN