Command aptly repo show.

This commit is contained in:
Andrey Smirnov
2014-02-20 16:39:58 +04:00
parent 63cd4a80bb
commit 54421a9377
11 changed files with 106 additions and 2 deletions
+4
View File
@@ -13,6 +13,10 @@ import (
func ListPackagesRefList(reflist *debian.PackageRefList) (err error) {
fmt.Printf("Packages:\n")
if reflist == nil {
return
}
packageCollection := debian.NewPackageCollection(context.database)
err = reflist.ForEach(func(key []byte) error {