Stubs out pm rm
This commit is contained in:
+9
-1
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user