SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
remove sort
henry942a30f04c74
diff --git a/weed/filer/filer_search.go b/weed/filer/filer_search.goindex 7489d8e342..34358d849d 100644--- a/weed/filer/filer_search.go+++ b/weed/filer/filer_search.go@@ -42,17 +42,7 @@ func (f *Filer) ListDirectoryEntries(ctx context.Context, p util.FullPath, start}}- //Distinguish between folders and common files, folders are listed first- var folderEntries, commonEntries []*Entry- for i, _ := range entries {- if entries[i].IsDirectory() {- folderEntries = append(folderEntries, entries[i])- } else {- commonEntries = append(commonEntries, entries[i])- }- }- folderEntries = append(folderEntries, commonEntries...)- return folderEntries, err+ return entries, err}func (f *Filer) doListPatternMatchedEntries(ctx context.Context, p util.FullPath, startFileName string, inclusive bool, limit int, prefix, restNamePattern string) (matchedEntries []*Entry, missedCount int, lastFileName string, err error) {