Move ParsePrefix into common code. #116

This commit is contained in:
Andrey Smirnov
2014-12-23 00:50:28 +03:00
parent 923e2e1e50
commit d586f31247
6 changed files with 20 additions and 19 deletions

View File

@@ -33,7 +33,7 @@ func aptlyPublishSwitch(cmd *commander.Command, args []string) error {
names = args[1:]
}
storage, prefix := parsePrefix(param)
storage, prefix := deb.ParsePrefix(param)
var published *deb.PublishedRepo