lakeland1990
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
weed/filer/filerstore_wrapper.go
|
@ -303,7 +303,7 @@ func (fsw *FilerStoreWrapper) prefixFilterEntries(ctx context.Context, dirPath u |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
if count < limit && lastFileName <= prefix && len(notPrefixed) == int(limit) { |
|
|
|
|
|
|
|
|
if count < limit && lastFileName <= prefix { |
|
|
notPrefixed = notPrefixed[:0] |
|
|
notPrefixed = notPrefixed[:0] |
|
|
lastFileName, err = actualStore.ListDirectoryEntries(ctx, dirPath, lastFileName, false, limit, func(entry *Entry) bool { |
|
|
lastFileName, err = actualStore.ListDirectoryEntries(ctx, dirPath, lastFileName, false, limit, func(entry *Entry) bool { |
|
|
notPrefixed = append(notPrefixed, entry) |
|
|
notPrefixed = append(notPrefixed, entry) |
|
|