empty directory removal working

This commit is contained in:
Joey Hess 2017-09-15 15:24:45 -04:00
parent c633144d28
commit 1223960294
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -40,9 +40,3 @@ Low priority:
Run each pair in turn. Then run the current rename code. Although this
still probably misses cases, where eg, content cycles amoung 3 files, and
the same content amoung 3 other files. Is there a general algorythm?
* webdav: When a file in a subdirectory gets deleted,
the webdav collection is remains, empty. Could to check if collection is
empty, and delete otherwise, but that would have a race if another export
is running to the same webdav server.
Probably best to add a remote method to delete a directory, and have
export use it on all directories it thinks should be empty.