cloud-pipeline
cloud-pipeline copied to clipboard
pipe storage du: Support --depth when --cloud disabled
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=brieflet's flush data as soon as it is received (not supported for--output-mode=allsince all item's storage classes shall loaded to construct table header properly)