cloud-pipeline icon indicating copy to clipboard operation
cloud-pipeline copied to clipboard

pipe storage du: Support --depth when --cloud disabled

Open ekazachkova opened this issue 1 year ago • 0 comments

Background At the moment, Cloud Pipeline allows to fetch data for pipe storage du with --depth option from cloud provider only and it would be nice to support --depth with disabled --cloud flag.

Approach

  • extract folder names directly from cloud provider given specified depth
  • for each folder path load stat data from API

Notes:

  • for --output-mode=brief let's flush data as soon as it is received (not supported for --output-mode=all since all item's storage classes shall loaded to construct table header properly)

ekazachkova avatar Aug 16 '24 11:08 ekazachkova