Stubs out pm rm

This commit is contained in:
sm
2018-03-06 20:35:03 -08:00
parent 9ecd4e6f79
commit bd06d484c2
4 changed files with 46 additions and 1 deletions
+9 -1
View File
@@ -1,6 +1,9 @@
package pm
import "sort"
import (
"errors"
"sort"
)
// Installed tracks installed packages.
type Installed map[Name]Meta
@@ -22,3 +25,8 @@ func (i Installed) Traverse() <-chan Meta {
}()
return r
}
// Removable calculates if the packages requested in "in" can all be removed.
func (i Installed) Removable(names []string) (Metas, error) {
return nil, errors.New("NYI")
}