1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 22:01:15 +02:00

TarArchive: Small refactoring

This commit is contained in:
Eelco Dolstra 2021-08-30 15:41:19 +02:00
parent c7a7652725
commit 50a35860ee
2 changed files with 15 additions and 14 deletions

View file

@ -17,10 +17,13 @@ struct TarArchive {
// disable copy constructor
TarArchive(const TarArchive &) = delete;
void init();
void close();
~TarArchive();
};
void unpackTarfile(Source & source, const Path & destDir);
void unpackTarfile(const Path & tarFile, const Path & destDir);