rclone/backend/onedrive
Nick Craig-Wood b4d86d5450 onedrive: fix rmdir sometimes deleting directories with contents
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).
2018-08-31 23:12:13 +01:00
..
api onedrive: shared folder support - fixes #1200 2018-07-11 18:48:59 +01:00
quickxorhash all: fix go-critic linter suggestions 2018-08-06 21:14:03 +01:00
onedrive.go onedrive: fix rmdir sometimes deleting directories with contents 2018-08-31 23:12:13 +01:00
onedrive_test.go Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
replace.go Move all backends into backend directory 2018-01-12 17:07:38 +00:00
replace_test.go Move all backends into backend directory 2018-01-12 17:07:38 +00:00