|
@ -187,11 +187,11 @@ func (store *LevelDBStore) ListDirectoryPrefixedEntries(ctx context.Context, dir |
|
|
if fileName == startFileName && !includeStartFile { |
|
|
if fileName == startFileName && !includeStartFile { |
|
|
continue |
|
|
continue |
|
|
} |
|
|
} |
|
|
lastFileName = fileName |
|
|
|
|
|
limit-- |
|
|
limit-- |
|
|
if limit < 0 { |
|
|
if limit < 0 { |
|
|
break |
|
|
break |
|
|
} |
|
|
} |
|
|
|
|
|
lastFileName = fileName |
|
|
entry := &filer.Entry{ |
|
|
entry := &filer.Entry{ |
|
|
FullPath: weed_util.NewFullPath(string(dirPath), fileName), |
|
|
FullPath: weed_util.NewFullPath(string(dirPath), fileName), |
|
|
} |
|
|
} |
|
|