DirCache

Store cached builds in subdirectories. Optimize things by hard-linking identical files.

Members

Functions

dedupDirectories
void dedupDirectories(string dirA, string dirB)

Replace all files that have duplicate subpaths and content which exist under both dirA and dirB with hard links.

finalize
void finalize()
Undocumented in source. Be warned that the author may not have intended to support it.
optimize
void optimize()

Optimize entire cache.

optimizeKey
void optimizeKey(string key)

Optimize specific revision.

verify
void verify()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin GenerateConstructorProxies
Undocumented in source.

Properties

name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

dedupedFiles
size_t dedupedFiles;
Undocumented in source.

Inherited Members

From DirCacheBase

getEntries
string[] getEntries()
Undocumented in source. Be warned that the author may not have intended to support it.
haveEntry
bool haveEntry(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
listFiles
string[] listFiles(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
optimizeKey
void optimizeKey(string key)
Undocumented in source.
add
void add(string key, string sourcePath)
Undocumented in source. Be warned that the author may not have intended to support it.
extract
void extract(string key, string targetPath, bool delegate(string) pathFilter)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(string key)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta