Nix  2.93.0-dev
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::parseAsync::ReconstructVisitor::FileReader Struct Reference
Inheritance diagram for nix::parseAsync::ReconstructVisitor::FileReader:
[legend]
Collaboration diagram for nix::parseAsync::ReconstructVisitor::FileReader:
[legend]

Public Member Functions

 FileReader (File &file)
 
void receiveContents (std::string_view data) override
 
void close () override
 
- Public Member Functions inherited from nix::NARParseVisitor::FileHandle
 FileHandle (FileHandle const &)=delete
 
FileHandleoperator= (FileHandle &)=delete
 

Public Attributes

Filefile
 

Member Function Documentation

◆ close()

void nix::parseAsync::ReconstructVisitor::FileReader::close ( )
inlineoverridevirtual

Explicitly closes the file. Further operations may throw an assert. This exists so that closing can fail and throw an exception without doing so in a destructor.

Implements nix::NARParseVisitor::FileHandle.

◆ receiveContents()

void nix::parseAsync::ReconstructVisitor::FileReader::receiveContents ( std::string_view data)
inlineoverridevirtual

Puts one block of data into the file

Implements nix::NARParseVisitor::FileHandle.


The documentation for this struct was generated from the following file: