mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
Sort directory objects correctly (#10886)
Decode dir objects when listing and sort them correctly.
This commit is contained in:
@@ -539,7 +539,7 @@ func (er *erasureObjects) streamMetadataParts(ctx context.Context, o listPathOpt
|
||||
func (er *erasureObjects) listPath(ctx context.Context, o listPathOptions) (entries metaCacheEntriesSorted, err error) {
|
||||
const debugPrint = false
|
||||
if debugPrint {
|
||||
console.Printf("listPath with options: %#v", o)
|
||||
console.Printf("listPath with options: %#v\n", o)
|
||||
}
|
||||
// See if we have the listing stored.
|
||||
if !o.Create {
|
||||
|
||||
Reference in New Issue
Block a user