perf(disk-usage): concurrently get details (#1326)

This commit is contained in:
KirCute
2025-09-29 23:26:56 +08:00
committed by GitHub
parent e0414e7110
commit a2fc38be8d
55 changed files with 838 additions and 226 deletions

View File

@@ -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 {