Documentation ¶
Index ¶
- func Build(dir string, attribute string) error
- func CleanNameFromGraph(s string) string
- func Develop() error
- func GetDrvPathFromResult(output string, symlink string) (string, error)
- func GetNarHashFromPath(path string) (string, error)
- func Lock() error
- func ManageStdErr(stderr io.ReadCloser) error
- func ManageStdOutput(stdout io.ReadCloser) error
- func NixShowConfig() (map[string]string, error)
- func NixVersion() (string, error)
- func Run() error
- type App
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanNameFromGraph ¶
CleanNameFromGraph removes leading and trailing double quotes and escape characters
func GetDrvPathFromResult ¶
GetDrvPathFromResult returns the derivation
func GetNarHashFromPath ¶
GetNarHashFromPath returns the sha256 hash of the nar
func ManageStdErr ¶ added in v0.2.1
func ManageStdErr(stderr io.ReadCloser) error
func ManageStdOutput ¶ added in v0.2.1
func ManageStdOutput(stdout io.ReadCloser) error
func NixShowConfig ¶
NixShowConfig returns a map of nix configuration values
Types ¶
type App ¶
type App struct { Name string Version string AppType sbom.Purpose ResultHash string ResultDigest string BinaryHash string }
App represents the application
func GetAppDetails ¶
GetAppDetails checks if the symlink exists
func GetRuntimeClosureGraph ¶
func GetRuntimeClosureGraph(appName, output string, symlink string) (*App, *gographviz.Graph, error)
GetRuntimeClosureGraph returns the runtime closure graph for the project TODO: we should look into adding metadata about licenses, homepage into the graph
Click to show internal directories.
Click to hide internal directories.