|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
#include <archive.hh>
Classes | |
| struct | FileHandle |
Public Member Functions | |
| virtual box_ptr< NARParseVisitor > | createDirectory (const std::string &name)=0 |
| virtual box_ptr< FileHandle > | createRegularFile (const std::string &name, uint64_t size, bool executable)=0 |
| virtual void | createSymlink (const std::string &name, const std::string &target)=0 |
Methods of this may arbitrarily fail due to filename collisions.
|
pure virtual |
Creates a regular file in the extraction output with the given size and executable flag. The size is guaranteed to be the true size of the file.
Implemented in nix::NARRestoreVisitor, and nix::parseAsync::ReconstructVisitor.