mirror of
https://github.com/rclone/rclone.git
synced 2024-11-08 17:44:57 +01:00
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_test.go | ||
onedrive.go | ||
replace_test.go | ||
replace.go |