|
void | check (int err, const std::string &reason="failed to extract archive (%s)") |
|
| TarArchive (const std::filesystem::path &path) |
|
| TarArchive (Source &source, bool raw=false, std::optional< std::string > compression_method=std::nullopt) |
| Create a generic archive from source.
|
|
| TarArchive (const TarArchive &)=delete |
| Disable copy constructor. Explicitly default move assignment/constructor.
|
|
TarArchive & | operator= (const TarArchive &)=delete |
|
| TarArchive (TarArchive &&)=default |
|
TarArchive & | operator= (TarArchive &&)=default |
|
void | close () |
|
|
struct archive * | archive |
|
Source * | source |
|
std::vector< unsigned char > | buffer |
|
◆ TarArchive()
nix::TarArchive::TarArchive |
( |
Source & | source, |
|
|
bool | raw = false, |
|
|
std::optional< std::string > | compression_method = std::nullopt ) |
Create a generic archive from source.
- Parameters
-
The documentation for this struct was generated from the following files:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libutil/tarfile.hh
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libutil/tarfile.cc