mirror of
https://github.com/NixOS/nix
synced 2025-06-30 03:23:16 +02:00
Drop libbz2 / zlib / lzma dependency + style fixes
This commit is contained in:
parent
6fb7582413
commit
15f4d4fd43
8 changed files with 69 additions and 66 deletions
|
@ -4,18 +4,18 @@
|
|||
namespace nix {
|
||||
|
||||
struct TarArchive {
|
||||
struct archive *archive;
|
||||
Source *source;
|
||||
struct archive * archive;
|
||||
Source * source;
|
||||
std::vector<unsigned char> buffer;
|
||||
|
||||
void check(int err, const char *reason = "Failed to extract archive (%s)");
|
||||
void check(int err, const std::string & reason = "failed to extract archive (%s)");
|
||||
|
||||
TarArchive(Source& source, bool raw = false);
|
||||
TarArchive(Source & source, bool raw = false);
|
||||
|
||||
TarArchive(const Path &path);
|
||||
TarArchive(const Path & path);
|
||||
|
||||
// disable copy constructor
|
||||
TarArchive(const TarArchive&) = delete;
|
||||
TarArchive(const TarArchive &) = delete;
|
||||
|
||||
void close();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue