package
Version:
v0.0.0-...-93cb24a
Opens a new window with list of versions in this module.
Published: Dec 19, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
It is provided on cache.nixos.org, and more generally, written when
write-nar-listing=1 is passed while copying build results into a binary
cache.
type Node struct {
Type nar.NodeType `json:"type"`
Entries map[string]*Node `json:"entries"`
Size int64 `json:"size"`
LinkTarget string `json:"target"`
Executable bool `json:"executable"`
NAROffset int64 `json:"narOffset"`
}
Node represents one of the entries in a .ls file.
type Root struct {
Version int `json:"version"`
Root Node
}
Root represents the .ls file root entry.
ParseLS parses the NAR .ls file format.
It returns a tree-like structure for all the entries.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.