aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/tarfile.hh
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2022-02-06 14:47:07 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2022-03-24 22:30:46 +0100
commitc85467a1b65d2a8907fcab3303572f76c071776d (patch)
tree56ed0250cb471440e64c10305ed9c849fb7ba5fe /src/libutil/tarfile.hh
parentd9cfd853e52d0173f86a1648246360faa96c516c (diff)
Revert "TarArchive: Small refactoring"
This reverts commit 50a35860ee9237d341948437c5f70a7f0987d393. With this change Nix fails to open bzip2 logfiles that were created from builds with no stdout/stderr.
Diffstat (limited to 'src/libutil/tarfile.hh')
-rw-r--r--src/libutil/tarfile.hh3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libutil/tarfile.hh b/src/libutil/tarfile.hh
index f107a7e2e..4d9141fd4 100644
--- a/src/libutil/tarfile.hh
+++ b/src/libutil/tarfile.hh
@@ -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);