Module nix_compat::nar::listing

source ·
Expand description

Parser for the Nix archive listing format, aka .ls.

LS files are produced by the C++ Nix implementation via write-nar-listing=1 query parameter passed to a store implementation when transferring store paths.

Listing files contains metadata about a file and its offset in the corresponding NAR.

NOTE: LS entries does not offer any integrity field to validate the retrieved file at the provided offset. Validating the contents is the caller’s responsibility.

Structs§

Enums§