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

Method LockfileKey

internal/devpkg/package.go:675–680  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

673}
674
675func (p *Package) LockfileKey() string {
676 // Use p.Raw instead of p.installable.Ref.String() because that will have
677 // absolute paths. TODO: We may want to change SetInstallable to avoid making
678 // flake ref absolute.
679 return p.Raw
680}
681
682func IsNix(p *Package, _ int) bool {
683 return !p.IsRunX()

Calls

no outgoing calls

Tested by

no test coverage detected