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