dbuild.tar

implementation of tar file extraction

Members

Functions

extractTo
void extractTo(string archive, string directory)

Extract a tar file to a directory.

isSingleRootDir
bool isSingleRootDir(string archive, 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(string archive)

print all entries names to stdout

Meta