b4d86d5450
Before this change we were using the ChildCount in the Folder facet to determine if a directory was empty or not. However this seems to be unreliable, or updated asynchronously which meant that `rclone rmdir` sometimes deleted directories that had files in. This problem was spotted by the integration tests. Listing the directory instead of relying on the ChildCount fixes the problem and the integration tests, without changing the cost (one http transaction). |
||
---|---|---|
.. | ||
api | ||
quickxorhash | ||
onedrive.go | ||
onedrive_test.go | ||
replace.go | ||
replace_test.go |