mirror of
https://github.com/pgsty/minio.git
synced 2026-08-07 08:11:13 +03:00
ListObjects now considers multipart objects, also move to upstream check.v1
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user