aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/tarfile.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-08-30 15:41:19 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-08-30 17:02:51 +0200
commit50a35860ee9237d341948437c5f70a7f0987d393 (patch)
treeba145662123e75e5a3c218ebb760ce2d7729d050 /src/libutil/tarfile.hh
parentc7a7652725f1b0de08b0faeef24d8098c6ee44c0 (diff)
TarArchive: Small refactoring
Diffstat (limited to 'src/libutil/tarfile.hh')
-rw-r--r--src/libutil/tarfile.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libutil/tarfile.hh b/src/libutil/tarfile.hh
index 4d9141fd4..f107a7e2e 100644
--- a/src/libutil/tarfile.hh
+++ b/src/libutil/tarfile.hh
@@ -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);