mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
3
xl-v1.go
3
xl-v1.go
@@ -20,6 +20,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
slashpath "path"
|
||||
"sort"
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
@@ -554,6 +555,8 @@ func (xl XL) listFiles(disk StorageAPI, volume, prefix, marker string, recursive
|
||||
break
|
||||
}
|
||||
}
|
||||
// Sort to make sure we sort entries back properly.
|
||||
sort.Sort(byFileInfoName(filesInfo))
|
||||
return filesInfo, eof, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user