|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
#include <archive.hh>
Public Member Functions | |
| PreparedDump (Path rootPath) | |
| virtual WireFormatGenerator | dump () const =0 |
Public Attributes | |
| const Path | rootPath |
Reusable intermediate state of dumpPath with path filters applied. Represents a snapshot of a file system hierarchy. ready for dumping.
|
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.