rclone/backend
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
..
alias Implement new backend config system 2018-07-16 21:20:47 +01:00
all New backend: Jottacloud 2018-08-10 11:14:34 +01:00
amazonclouddrive Implement new backend config system 2018-07-16 21:20:47 +01:00
azureblob azureblob,b2,qingstor,s3,swift: remove leading / from paths - fixes #2484 2018-08-26 23:19:28 +01:00
b2 azureblob,b2,qingstor,s3,swift: remove leading / from paths - fixes #2484 2018-08-26 23:19:28 +01:00
box build: fix whitespace changes due to go1.11 gofmt changes 2018-08-20 12:26:06 +01:00
cache cache: fix nil pointer deref - fixes #2448 2018-08-07 21:33:13 +01:00
crypt crypt: fix accounting when checking hashes on upload 2018-08-21 08:57:53 +01:00
drive build: fix whitespace changes due to go1.11 gofmt changes 2018-08-20 12:26:06 +01:00
dropbox Implement new backend config system 2018-07-16 21:20:47 +01:00
ftp Implement new backend config system 2018-07-16 21:20:47 +01:00
googlecloudstorage Implement new backend config system 2018-07-16 21:20:47 +01:00
http Implement new backend config system 2018-07-16 21:20:47 +01:00
hubic Implement new backend config system 2018-07-16 21:20:47 +01:00
jottacloud jottacloud: Implement optional about interface. 2018-08-30 17:15:49 +01:00
local local: fix mkdir error when trying to copy files to the root of a drive on windows 2018-08-31 21:10:36 +01:00
mega mega: add --mega-hard-delete flag - fixes #2409 2018-08-03 15:07:51 +01:00
onedrive onedrive: fix rmdir sometimes deleting directories with contents 2018-08-31 23:12:13 +01:00
opendrive Implement new backend config system 2018-07-16 21:20:47 +01:00
pcloud Implement new backend config system 2018-07-16 21:20:47 +01:00
qingstor azureblob,b2,qingstor,s3,swift: remove leading / from paths - fixes #2484 2018-08-26 23:19:28 +01:00
s3 s3: add support for KMS Key ID - fixes #2217 2018-08-30 17:08:27 +01:00
sftp Implement new backend config system 2018-07-16 21:20:47 +01:00
swift azureblob,b2,qingstor,s3,swift: remove leading / from paths - fixes #2484 2018-08-26 23:19:28 +01:00
webdav webdav: Attempt to remove failed uploads 2018-08-16 16:00:30 +01:00
yandex yandex: fix listing/deleting files in the root - fixes #2471 2018-08-18 12:12:19 +01:00