()
| 644 | } |
| 645 | |
| 646 | func (p *Package) EnsureUninstallableIsInLockfile() error { |
| 647 | // TODO savil: Should !p.isInstallable() be the opposite i.e. p.IsInstallable()? |
| 648 | // TODO savil: Do we need the IsDevboxPackage check here? |
| 649 | if !p.IsInstallable() || !p.IsDevboxPackage { |
| 650 | return nil |
| 651 | } |
| 652 | _, err := p.lockfile.Resolve(p.LockfileKey()) |
| 653 | return err |
| 654 | } |
| 655 | |
| 656 | func (p *Package) IsRunX() bool { |
| 657 | return pkgtype.IsRunX(p.Raw) |
no test coverage detected