dgamevfs.fs
-
Declaration
class
FSDir
: 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(string
name
, stringphysicalPath
, Flag!"writable
"writable
= Yes.writable
);Construct an .
Parameters
string
name
Name of the directory in the VFS.
string
physicalPath
Path of the directory in the physical filesystem.
Flag!"
writable
"writable
Is this directory writable? can't determine whether you have permission to write in a directory - you must specify this explicitly.
-
-
Declaration
class
FSFile
: dgamevfs.vfs.VFSFile;implementation representing a file in the file system.
-
Declaration
FSFile
physicalFSFile
(stringpath
);Construct a plain file, not using the VFS.
Discussion
Allows to use the D:GameVFS API for standalone files.
Parameters
string
path
Path of the file in the physical filesystem.
Throws
VFSInvalidPathException if the
path
is not valid.