![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include "nix/util/memory-source-accessor.hh"Go to the source code of this file.
Classes | |
| struct | nix::NarListingRegularFile |
Typedefs | |
| using | nix::NarListing = fso::VariantT<NarListingRegularFile, true> |
| using | nix::ShallowNarListing = fso::VariantT<NarListingRegularFile, false> |
Functions | |
| NarListing | nix::parseNarListing (Source &source) |
| NarListing | nix::listNarDeep (SourceAccessor &accessor, const CanonPath &path) |
| ShallowNarListing | nix::listNarShallow (SourceAccessor &accessor, const CanonPath &path) |
| using nix::NarListing = fso::VariantT<NarListingRegularFile, true> |
Abstract syntax for a "NAR listing".
| using nix::ShallowNarListing = fso::VariantT<NarListingRegularFile, false> |
Shallow NAR listing where directory children are not recursively expanded. Uses a variant that can hold Regular/Symlink fully, but Directory children are just unit types indicating presence without content.
| NarListing nix::listNarDeep | ( | SourceAccessor & | accessor, |
| const CanonPath & | path ) |
Return a deep structured representation of the contents of a NAR (except file contents), recursively listing all children.
| ShallowNarListing nix::listNarShallow | ( | SourceAccessor & | accessor, |
| const CanonPath & | path ) |
Return a shallow structured representation of the contents of a NAR (except file contents), only listing immediate children without recursing.
| NarListing nix::parseNarListing | ( | Source & | source | ) |
Parse a NAR from a Source and return its listing structure.