- copyWithoutParent
VFSDir copyWithoutParent()
Undocumented in source. Be warned that the author may not have intended to support it.
- create_
void create_()
Undocumented in source. Be warned that the author may not have intended to support it.
- dir
VFSDir dir(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
- dirs
VFSDirs dirs(Flag!"deep" deep, string glob)
Undocumented in source. Be warned that the author may not have intended to support it.
- file
VFSFile file(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
- files
VFSFiles files(Flag!"deep" deep, string glob)
Undocumented in source. Be warned that the author may not have intended to support it.
- remove
void remove()
Undocumented in source. Be warned that the author may not have intended to support it.
- name
string name [@property getter]
Get the name of this directory.
- path
string path [@property getter]
Get full path of this directory in the VFS.
- writable
bool writable [@property getter]
Is it possible to write to the directory?
- exists
bool exists [@property getter]
Does the directory exist?
- file
VFSFile file(string path)
Get file with specified _path in the directory.
- dir
VFSDir dir(string path)
Get a subdirectory with specified _path in the directory.
- files
VFSFiles files(Flag!"deep" deep, string glob)
Get a range of files in the directory.
- dirs
VFSDirs dirs(Flag!"deep" deep, string glob)
Get a range of subdirectories.
- create
void create()
Create the directory if it does not exist (otherwise do nothing).
- remove
void remove()
Remove the directory if it exists (otherwise do nothing).
- dirsRange
VFSDirs dirsRange(VFSDirs.Items dirs)
Construct a range from a set of directories.
- filesRange
VFSFiles filesRange(VFSFiles.Items files)
Construct a range from a set of _files.
- composePath
string composePath(VFSDir child)
Compose path for a _child directory. Used e.g. to allow StackDir to set children's paths.
- create_
void create_()
Implementation of create(). Caller contract guarantees that the directory is writable.
- copyWithoutParent
VFSDir copyWithoutParent()
Return a copy of this VFSDir without a parent. Used for mounting.
- getCopyWithoutParent
VFSDir getCopyWithoutParent(VFSDir dir)
Access for derived classes to call copyWithoutParent() of other instances.
- parent
VFSDir parent [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- parent
VFSDir parent [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.