Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::parseAsync::ReconstructVisitor Struct Reference
Inheritance diagram for nix::parseAsync::ReconstructVisitor:
nix::NARParseVisitor

Classes

struct  FileReader

Public Member Functions

 ReconstructVisitor (std::map< std::string, Entry > &parent)
box_ptr< NARParseVisitorcreateDirectory (const std::string &name) override
box_ptr< FileHandlecreateRegularFile (const std::string &name, uint64_t size, bool executable) override
void createSymlink (const std::string &name, const std::string &target) override

Public Attributes

std::map< std::string, Entry > & parent

Member Function Documentation

◆ createDirectory()

box_ptr< NARParseVisitor > nix::parseAsync::ReconstructVisitor::createDirectory ( const std::string & name)
inlineoverridevirtual

Implements nix::NARParseVisitor.

◆ createRegularFile()

box_ptr< FileHandle > nix::parseAsync::ReconstructVisitor::createRegularFile ( const std::string & name,
uint64_t size,
bool executable )
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.

◆ createSymlink()

void nix::parseAsync::ReconstructVisitor::createSymlink ( const std::string & name,
const std::string & target )
inlineoverridevirtual

Implements nix::NARParseVisitor.


The documentation for this struct was generated from the following file:
  • tests/unit/libutil/archive.cc