1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 17:31:47 +02:00

Revert "TarArchive: Small refactoring"

This reverts commit 50a35860ee.

With this change Nix fails to open bzip2 logfiles that were created from
builds with no stdout/stderr.
This commit is contained in:
Maximilian Bosch 2022-02-06 14:47:07 +01:00
parent d9cfd853e5
commit c85467a1b6
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E
2 changed files with 14 additions and 15 deletions

View file

@ -17,13 +17,10 @@ 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);