Closed amtoine closed 11 months ago
Agreed, it could be a for/try loop from the leaf to the root using rm since it does delete empty dir, and stop when it errors out
Agreed, it could be a for/try loop from the leaf to the root using rm since it does delete empty dir, and stop when it errors out
yup
i'm on a PR for this already :wink:
went for the recursive way with unfold
:yum:
Describe the bug
when using
gm remove
empty parent directories are left there untouched. this could break manual scripts that try to list stuff in the store...How to reproduce
will print
Expected behavior
i expected
gm remove
to clean the empty mess and thus the repro snippet above to printfalse
twice.Configuration
Additional context
No response