dgamevfs.fs
-
Declaration
classFSDir: dgamevfs.vfs.VFSDir;Directory in the physical filesystem.
Discussion
Note that paths behave as in the backend filesystem.
For example, if you are working with Windows, paths are not case sensitive.-
Declaration
@safe this(stringname, stringphysicalPath, Flag!"writable"writable= Yes.writable);Construct an .
Parameters
stringnameName of the directory in the VFS.
stringphysicalPathPath of the directory in the physical filesystem.
Flag!"writable"writableIs this directory writable? can't determine whether you have permission to write in a directory - you must specify this explicitly.
-
-
Declaration
classFSFile: dgamevfs.vfs.VFSFile;implementation representing a file in the file system.
-
Declaration
FSFilephysicalFSFile(stringpath);Construct a plain file, not using the VFS.
Discussion
Allows to use the D:GameVFS API for standalone files.
Parameters
stringpathPath of the file in the physical filesystem.
Throws
VFSInvalidPathException if the
pathis not valid.