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

Method Versioned

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

Source from the content-addressed store, hash-verified

506}
507
508func (p *Package) Versioned() string {
509 if p.IsDevboxPackage && !p.isVersioned() {
510 return p.Raw + "@latest"
511 }
512 return p.Raw
513}
514
515func (p *Package) IsLegacy() bool {
516 return p.IsDevboxPackage && !p.isVersioned() && p.lockfile.Get(p.Raw).GetSource() == ""

Callers 4

listCmdFunction · 0.80
OutdatedMethod · 0.80
AddMethod · 0.80

Calls 1

isVersionedMethod · 0.95

Tested by

no test coverage detected