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