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

Method setInstallable

internal/devpkg/package.go:184–189  ·  view source on GitHub ↗
(i flake.Installable, projectDir string)

Source from the content-addressed store, hash-verified

182}
183
184func (p *Package) setInstallable(i flake.Installable, projectDir string) {
185 if i.Ref.Type == flake.TypePath && !filepath.IsAbs(i.Ref.Path) {
186 i.Ref.Path = filepath.Join(projectDir, i.Ref.Path)
187 }
188 p.installable = i
189}
190
191func pkgNeedsPatch(canonicalName string, mode configfile.PatchMode) (patch bool) {
192 mode = cmp.Or(mode, configfile.PatchAuto)

Callers 2

newPackageFunction · 0.95
resolveFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected