RegFile

Regular File.

Constructors

this
this(NotNull!Dir parent)
Undocumented in source.
this
this(DirEntry dent, NotNull!Dir parent)
Undocumented in source.
this
this(string name, NotNull!Dir parent, Bytes64 size, SysTime timeLastModified, SysTime timeLastAccessed)
Undocumented in source.
this
this(Unpacker unpacker)

Construct from msgpack unpacker.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

bistogram8
auto ref bistogram8()
calculateCStatInChunks
void calculateCStatInChunks(NotNull!File[][SHA1Digest] filesByContentId, size_t chunkSize, bool doSHA1, bool doBist, bool doBitStatus)

Process File in Cache Friendly Chunks.

clearCStat
void clearCStat(File[][SHA1Digest] filesByContentId)

Clear/Reset Contents Statistics of this File.

contId
const(SHA1Digest) contId(inout(ubyte[]) src, File[][SHA1Digest] filesByContentId)
contentId
const(SHA1Digest) contentId()
empty
bool empty()
face
Face!Color face()
Undocumented in source. Be warned that the author may not have intended to support it.
freeContents
bool freeContents()

If needed Free Allocated Contents of this Regular File.

fromMsgpack
void fromMsgpack(Unpacker unpacker)

Unpack.

makeObselete
void makeObselete()
Undocumented in source. Be warned that the author may not have intended to support it.
readOnlyContents
immutable(ubyte[]) readOnlyContents()
readWriteableContents
ubyte[] readWriteableContents()
toMsgpack
void toMsgpack(Packer packer)

Pack.

toString
string toString()
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()
xgram
auto ref xgram()
xgramDeepDenseness
auto ref xgramDeepDenseness()

Inherited Members

From File

realExtension
string realExtension()
Undocumented in source. Be warned that the author may not have intended to support it.
ext
alias ext = realExtension
Undocumented in source.
toTextual
string toTextual()
Undocumented in source. Be warned that the author may not have intended to support it.
treeSize
Bytes64 treeSize()
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.

face
Face!Color face()
Undocumented in source. Be warned that the author may not have intended to support it.
checkObseleted
bool checkObseleted(DirEntry dent)

Check if this File has been invalidated by dent.

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.
depth
int depth()
depthIterative
int depthIterative()

NOTE: Currently not used.

parentsUpwards
Dir[] parentsUpwards()

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

dirsDownward
alias dirsDownward = parentsUpwards
Undocumented in source.
parents
auto parents()

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

dirs
alias dirs = parents
Undocumented in source.
parentsDownward
alias parentsDownward = parents
Undocumented in source.
underAnyDir
bool underAnyDir()
Undocumented in source. Be warned that the author may not have intended to support it.
path
string path()
pathRecursive
string pathRecursive()
toMsgpack
void toMsgpack(Packer packer)
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.
parent
Dir parent;
Undocumented in source.
dir
alias dir = parent
Undocumented in source.
name
string name;
Undocumented in source.
size
Bytes64 size;
Undocumented in source.
timeLastModified
SysTime timeLastModified;
Undocumented in source.
timeLastAccessed
SysTime timeLastAccessed;
Undocumented in source.

Meta