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

Method InstallablePackages

internal/devbox/devbox.go:924–928  ·  view source on GitHub ↗

InstallablePackages returns the packages that are to be installed

()

Source from the content-addressed store, hash-verified

922
923// InstallablePackages returns the packages that are to be installed
924func (d *Devbox) InstallablePackages() []*devpkg.Package {
925 return lo.Filter(d.AllPackages(), func(pkg *devpkg.Package, _ int) bool {
926 return pkg.IsInstallable()
927 })
928}
929
930func (d *Devbox) HasDeprecatedPackages() bool {
931 for _, pkg := range d.AllPackages() {

Callers 6

handleInstallFailureMethod · 0.95
InstallRunXPackagesMethod · 0.95
FixMissingStorePathsMethod · 0.95
UploadProjectToCacheMethod · 0.95
RunXPathsMethod · 0.95

Calls 2

AllPackagesMethod · 0.95
IsInstallableMethod · 0.80

Tested by

no test coverage detected