Implementation of upload file to local repo APIs. #116

This commit is contained in:
Andrey Smirnov
2014-11-11 01:12:52 +03:00
parent 83af66a8f6
commit 74f9787884
4 changed files with 209 additions and 8 deletions
+4
View File
@@ -94,6 +94,10 @@ func (l *PackageRefList) Has(p *Package) bool {
// Strings builds list of strings with package keys
func (l *PackageRefList) Strings() []string {
if l == nil {
return []string{}
}
result := make([]string, l.Len())
for i := 0; i < l.Len(); i++ {