mirror of
https://github.com/NixOS/nix
synced 2025-06-28 22:01:15 +02:00
TarArchive: Small refactoring
This commit is contained in:
parent
c7a7652725
commit
50a35860ee
2 changed files with 15 additions and 14 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue