MCPcopy
hub / github.com/jetify-com/devbox / GetOutputNames

Method GetOutputNames

internal/devpkg/package.go:703–709  ·  view source on GitHub ↗

GetOutputNames returns the names of the nix package outputs. Outputs can be specified in devbox.json package fields or as part of the flake reference.

()

Source from the content-addressed store, hash-verified

701// GetOutputNames returns the names of the nix package outputs. Outputs can be
702// specified in devbox.json package fields or as part of the flake reference.
703func (p *Package) GetOutputNames() ([]string, error) {
704 if p.IsRunX() {
705 return []string{}, nil
706 }
707
708 return p.outputs.GetNames(p)
709}
710
711// GetOutputsWithCache return outputs and their cache URIs if the package is in the binary cache.
712// n+1 WARNING: This will make an http request if FillNarInfoCache is not called before.

Callers 6

InstallablesMethod · 0.95
GetOutputsWithCacheMethod · 0.95
GetResolvedStorePathsMethod · 0.95
FillNarInfoCacheFunction · 0.80
needsSymlinkJoinFunction · 0.80

Calls 2

IsRunXMethod · 0.95
GetNamesMethod · 0.80

Tested by

no test coverage detected