MCPcopy Index your code
hub / github.com/jetify-com/devbox / PackageAttributePath

Method PackageAttributePath

internal/devpkg/package.go:344–349  ·  view source on GitHub ↗

PackageAttributePath returns the short attribute path for a package which does not include packages/legacyPackages or the system name.

()

Source from the content-addressed store, hash-verified

342// PackageAttributePath returns the short attribute path for a package which
343// does not include packages/legacyPackages or the system name.
344func (p *Package) PackageAttributePath() (string, error) {
345 if err := p.resolve(); err != nil {
346 return "", err
347 }
348 return p.installable.AttrPath, nil
349}
350
351// FullPackageAttributePath returns the attribute path for a package. It is not
352// always normalized which means it should not be used to compare packages.

Callers 1

createFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected