StdFileSystem

FileSystem that wraps libc filesystem functions + some Posix and WinAPI parts for additional functionality

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

createDir
bool createDir(string path, bool recursive)
Undocumented in source. Be warned that the author may not have intended to support it.
openDir
Directory openDir(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
openForIO
StdIOStream openForIO(string filename, uint creationFlags)
Undocumented in source. Be warned that the author may not have intended to support it.
openForInput
StdInFileStream openForInput(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
openForOutput
StdOutFileStream openForOutput(string filename, uint creationFlags)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
bool remove(string path, bool recursive)
Undocumented in source. Be warned that the author may not have intended to support it.
stat
bool stat(string filename, FileStat stat)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

openedDirPaths
Array!string openedDirPaths;
Undocumented in source.
openedDirs
Dict!(Directory, string) openedDirs;
Undocumented in source.

Inherited Members

From FileSystem

read
anonymousenum read

File access flags.

create
anonymousenum create

File creation flags.

openForOutput
OutputStream openForOutput(string filename, uint creationFlags)

Open a file for output.

openForIO
IOStream openForIO(string filename, uint creationFlags)

Open a file for input & output.

createDir
bool createDir(string path, bool recursive)

Create a new directory.

remove
bool remove(string path, bool recursive)

Permanently delete a file or directory.

Meta