dbuild.tar

implementation of tar file extraction

Members

Functions

extractTo
void extractTo(in string archive, in string directory)

Extract a tar file to a directory.

isSingleRootDir
bool isSingleRootDir(in string archive, out string rootDir)

Check whether the archive contains a single or multiple root directories. Useful to determine if archive can be extracted "here" or within another directory

listFiles
void listFiles(in string archive)

print all entries names to stdout

Meta