aptly
aptly copied to clipboard
Aptly leave empty directory structure when droping published repo with prefix
When removing the last distribution from a published repo with a prefix, Aplty will empty directories, but leave the prefix structure in place.
This could be done is prefix is empty.
Changed it to use Remove() instead to avoid a race condition