|
|
|
@ -328,7 +328,7 @@ func (store *AbstractSqlStore) ListDirectoryPrefixedEntries(ctx context.Context, |
|
|
|
|
|
|
|
resEachEntryFunc, resEachEntryFuncErr := eachEntryFunc(entry) |
|
|
|
if resEachEntryFuncErr != nil { |
|
|
|
err = fmt.Errorf("Failed in process eachEntryFnc: %v", resEachEntryFuncErr) |
|
|
|
err = fmt.Errorf("failed to process eachEntryFunc: %w", resEachEntryFuncErr) |
|
|
|
break |
|
|
|
} |
|
|
|
|
|
|
|
@ -338,7 +338,7 @@ func (store *AbstractSqlStore) ListDirectoryPrefixedEntries(ctx context.Context, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return lastFileName, nil |
|
|
|
return lastFileName, err |
|
|
|
} |
|
|
|
|
|
|
|
func (store *AbstractSqlStore) ListDirectoryEntries(ctx context.Context, dirPath util.FullPath, startFileName string, includeStartFile bool, limit int64, eachEntryFunc filer.ListEachEntryFunc) (lastFileName string, err error) { |
|
|
|
|