|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
Public Member Functions | |
| NARRestoreVisitor (Path dstPath, bool useCaseHack) | |
| box_ptr< NARParseVisitor > | createDirectory (const std::string &name_) override |
| box_ptr< FileHandle > | createRegularFile (const std::string &name_, uint64_t size, bool executable) override |
| void | createSymlink (const std::string &name_, const std::string &target) override |
Public Attributes | |
| Path | dstPath |
| bool | useCaseHack |
| std::map< Path, int, CaseInsensitiveCompare > | caseHackNames |
This code restores NARs from disk.
See Note [NAR restoration security] for security invariants in this procedure.
|
inlineoverridevirtual |
Implements nix::NARParseVisitor.
|
inlineoverridevirtual |
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.
Implements nix::NARParseVisitor.
|
inlineoverridevirtual |
Implements nix::NARParseVisitor.