RegFile

Regular File.

Constructors

this
this(Unpacker unpacker)

Construct from msgpack unpacker.

Destructor

A destructor is present on this object, but not explicitly documented in the 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()
freeContents
bool freeContents()

If needed Free Allocated Contents of this Regular File.

fromMsgpack
void fromMsgpack(Unpacker unpacker)

Unpack.

readOnlyContents
immutable(ubyte[]) readOnlyContents()
readWriteableContents
ubyte[] readWriteableContents()
toMsgpack
void toMsgpack(Packer packer)

Pack.

treeContentId
const(SHA1Digest) treeContentId()
xgram
auto ref xgram()
xgramDeepDenseness
auto ref xgramDeepDenseness()

Inherited Members

From File

treeContentId
const(SHA1Digest) treeContentId()

Content Digest of Tree under this Directory.

checkObseleted
bool checkObseleted(DirEntry dent)

Check if this File has been invalidated by dent.

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.

parents
auto parents()

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

path
string path()
pathRecursive
string pathRecursive()

Meta