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

Method IsLegacy

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

Source from the content-addressed store, hash-verified

513}
514
515func (p *Package) IsLegacy() bool {
516 return p.IsDevboxPackage && !p.isVersioned() && p.lockfile.Get(p.Raw).GetSource() == ""
517}
518
519func (p *Package) LegacyToVersioned() string {
520 if !p.IsLegacy() {

Callers 3

LegacyToVersionedMethod · 0.95
HasDeprecatedPackagesMethod · 0.80
UpdateMethod · 0.80

Calls 3

isVersionedMethod · 0.95
GetSourceMethod · 0.80
GetMethod · 0.65

Tested by

no test coverage detected