Documentation
¶
Overview ¶
Package nixstore queries and resolves Nix store packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Package ¶
type Package struct {
fs.FS
// StoreName is the full name of the package within its store.
StoreName string
// Hash is the package's base-32 Nix store hash.
Hash string
// DirectDependencies are the other packages in the store that this
// package depends on. It does not contain transitive dependencies.
DirectDependencies []*Package
}
Package is a file system that contains a package's files and metadata.
func TopologicalSort ¶
TopologicalSort resolves the dependency tree for a package and returns it as a slice of packages in topological order.
Click to show internal directories.
Click to hide internal directories.