mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-11-25 03:15:19 +08:00
perf(disk-usage): concurrently get details (#1326)
This commit is contained in:
@@ -24,8 +24,9 @@ func list(ctx context.Context, path string, args *ListArgs) ([]model.Obj, error)
|
||||
var _objs []model.Obj
|
||||
if storage != nil {
|
||||
_objs, err = op.List(ctx, storage, actualPath, model.ListArgs{
|
||||
ReqPath: path,
|
||||
Refresh: args.Refresh,
|
||||
ReqPath: path,
|
||||
Refresh: args.Refresh,
|
||||
WithStorageDetails: args.WithStorageDetails,
|
||||
})
|
||||
if err != nil {
|
||||
if !args.NoLog {
|
||||
|
||||
Reference in New Issue
Block a user