File

File.

Constructors

this
this(Dir parent)
Undocumented in source.
this
this(string name, Dir parent, Bytes64 size, SysTime timeLastModified, SysTime timeLastAccessed)
Undocumented in source.

Members

Aliases

dir
alias dir = parent
Undocumented in source.
dirs
alias dirs = parents
Undocumented in source.
dirsDownward
alias dirsDownward = parentsUpwards
Undocumented in source.
ext
alias ext = realExtension
Undocumented in source.
parentsDownward
alias parentsDownward = parents
Undocumented in source.

Functions

checkObseleted
bool checkObseleted(DirEntry dent)

Check if this File has been invalidated by dent.

depth
int depth()
depthIterative
int depthIterative()

NOTE: Currently not used.

face
Face!Color face()
Undocumented in source. Be warned that the author may not have intended to support it.
fromMsgpack
void fromMsgpack(Unpacker unpacker)
Undocumented in source. Be warned that the author may not have intended to support it.
makeObselete
void makeObselete()
Undocumented in source. Be warned that the author may not have intended to support it.
makeUnObselete
void makeUnObselete()
Undocumented in source. Be warned that the author may not have intended to support it.
parents
auto parents()

Get Parenting Dirs starting from file system root downto containing directory of this.

parentsUpwards
Dir[] parentsUpwards()

Get Parenting Dirs starting from parent of this upto root. Make this even more lazily evaluted.

path
string path()
pathRecursive
string pathRecursive()
realExtension
string realExtension()
Undocumented in source. Be warned that the author may not have intended to support it.
toMsgpack
void toMsgpack(Packer packer)
Undocumented in source. Be warned that the author may not have intended to support it.
toTextual
string toTextual()
Undocumented in source. Be warned that the author may not have intended to support it.
treeContentId
const(SHA1Digest) treeContentId()

Content Digest of Tree under this Directory.

treeSize
Bytes64 treeSize()
Undocumented in source. Be warned that the author may not have intended to support it.
underAnyDir
bool underAnyDir()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

name
string name;
Undocumented in source.
parent
Dir parent;
Undocumented in source.
size
Bytes64 size;
Undocumented in source.
timeLastAccessed
SysTime timeLastAccessed;
Undocumented in source.
timeLastModified
SysTime timeLastModified;
Undocumented in source.

Meta