ListObjects now considers multipart objects, also move to upstream check.v1

This commit is contained in:
Harshavardhana
2015-07-18 11:20:09 -07:00
parent e397fa48c4
commit 43c908d5b9
44 changed files with 189 additions and 172 deletions
+2 -2
View File
@@ -168,8 +168,8 @@ func SplitDelimiter(objects []string, delim string) []string {
return results
}
// SortU sort a slice in lexical order, removing duplicate elements
func SortU(objects []string) []string {
// SortUnique sort a slice in lexical order, removing duplicate elements
func SortUnique(objects []string) []string {
objectMap := make(map[string]string)
for _, v := range objects {
objectMap[v] = v