Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::PreparedDump Struct Referenceabstract

#include <archive.hh>

Inheritance diagram for nix::PreparedDump:
nix::PrefilteredDump nix::UnfilteredDump

Public Member Functions

 PreparedDump (Path rootPath)
virtual WireFormatGenerator dump () const =0

Public Attributes

const Path rootPath

Detailed Description

Reusable intermediate state of dumpPath with path filters applied. Represents a snapshot of a file system hierarchy. ready for dumping.

Member Function Documentation

◆ dump()

virtual WireFormatGenerator nix::PreparedDump::dump ( ) const
pure virtual

Produce a NAR of all paths that matched the filter passed to prepareDump. If no filter was passed, dump rootPath fully. Calling dump multiple times on the same object to produce multiple NARs of the same hierarchy is legal, though every call may produce a different output when disk contents change.

Implemented in nix::PrefilteredDump, and nix::UnfilteredDump.


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