Expand description
Parser for the Nix archive format, aka NAR.
NAR files (and their hashed representations) are used in C++ Nix for a variety of things, including addressing fixed-output derivations and transferring store paths between Nix stores.
Modules§
- async
- read 🔒
- Helpers for reading crate::nar::wire format.
Macros§
Structs§
- Archive
Reader 🔒 - DirReader
- A directory iterator, yielding a sequence of Nodes. It must be fully consumed before reading further from the DirReader that produced it, if any.
- Entry
- File
Reader - File contents, readable through the Read trait.
Enums§
- Archive
Reader 🔒Status - We use a stack of statuses to:
- Node
Functions§
- open
- Start reading a NAR file from
reader
.