rclone/fs/operations
Nick Craig-Wood 5fa6a28f70 dedupe: Stop dedupe deleting files with identical IDs #4013
Before this change if there were two files with the same name and the
same ID in the same directory, dedupe would delete one of them but
since these are actually the same file (with the same ID) then both
files would be deleted leading to data loss.

This should never actually happen, however it did happen as part of a
bug introduced in rclone which was fixed by

dfc7215bf9 drive: fix duplicate items when using --drive-shared-with-me #4018

This change checks to see if any of the duplicates have the same ID
and if they do it refuses to delete them.
2020-03-31 17:28:26 +01:00
..
dedupe_test.go dedupe: implement keep smallest too 2020-01-17 13:08:37 +00:00
dedupe.go dedupe: Stop dedupe deleting files with identical IDs #4013 2020-03-31 17:28:26 +01:00
listdirsorted_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
lsjson.go lsjson: add --no-mimetype flag, speed up lsf 2020-01-26 16:38:00 +00:00
multithread_test.go operations: fix multithread copy test to use the correct modify window 2020-02-25 13:30:35 +00:00
multithread.go operations: fix setting the timestamp on Windows for multithread copy 2020-02-24 17:30:09 +00:00
operations_internal_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
operations_test.go operations: fix --max-transfer test with jottacloud 2020-03-16 14:05:49 +00:00
operations.go fs: add renames statistic for file and directory renames 2020-03-30 18:22:28 +01:00
rc_test.go copyurl: add --auto-filename flag for using file name from url in destination path (#3451) 2019-09-03 17:25:19 +01:00
rc.go copyurl: add --auto-filename flag for using file name from url in destination path (#3451) 2019-09-03 17:25:19 +01:00
reopen_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
reopen.go operations: make reopen code error on NoLowLevelRetry errors - fixes #3777 2019-12-06 10:54:03 +00:00