rclone/fs
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
..
accounting fs: add renames statistic for file and directory renames 2020-03-30 18:22:28 +01:00
asyncreader asyncreader: fix EOF error 2019-12-10 12:12:29 +00:00
cache fs/cache: test for fix cached values pointing to files #3424 2019-08-10 08:39:56 +01:00
chunkedreader chunkedreader: disable hash calculation for first segment 2019-11-11 16:20:27 +00:00
config fs: Add --track-renames-strategy for configurable matching criteria for --track-renames 2020-03-20 13:04:56 +00:00
dirtree build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
driveletter Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
filter fs: filter flags ability to read from stdin - fixes #4034 2020-03-16 17:16:50 +00:00
fserrors fserrors: Make a new NoLowLevelRetry error and don't retry them #3777 2019-12-06 10:54:03 +00:00
fshttp doc: add desc about gzip and http dump 2020-01-23 12:42:44 +00:00
fspath config: check config names more carefully and report errors - fixes #3506 2019-09-06 12:07:09 +01:00
hash hash: fix hash names for DropboxHash and CRC-32 2019-10-30 12:20:10 +00:00
list build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
log fs/log: add support for syslog LOCAL facilities - fixes #4061 2020-03-13 21:44:52 +00:00
march sync: add --no-check-dest flag - fixes #3616 2019-12-29 16:47:57 +00:00
object Remove backend dependency from fs/hash 2019-10-01 16:29:58 +01:00
operations dedupe: Stop dedupe deleting files with identical IDs #4013 2020-03-31 17:28:26 +01:00
rc rcd: Add Prometheus metrics support - fixes #3858 2020-03-01 09:58:34 +00:00
sync sync: make --track-renames tests only check rename count if expecting renames 2020-03-31 10:58:49 +01:00
version build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
walk Fix error counter - fixes #3650 2019-11-18 14:13:02 +00:00
bwtimetable_test.go fs: added weekday schedule into --bwlimit - fixes #1822 2018-06-17 18:38:09 +01:00
bwtimetable.go fs: added weekday schedule into --bwlimit - fixes #1822 2018-06-17 18:38:09 +01:00
config_list_test.go fs: fix tests for *SepList 2018-08-21 10:58:59 +01:00
config_list.go Make flags show up with their proper names, eg SizeSuffix rather than int 2019-02-07 11:57:26 +00:00
config.go fs: Add --track-renames-strategy for configurable matching criteria for --track-renames 2020-03-20 13:04:56 +00:00
cutoffmode_test.go fs: Use --cutoff-mode hard,soft,catious instead of 3 --max-transfer-mode flags 2020-03-01 09:49:55 +00:00
cutoffmode.go fs: Use --cutoff-mode hard,soft,catious instead of 3 --max-transfer-mode flags 2020-03-01 09:49:55 +00:00
deletemode.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
dir.go Add context propagation to rclone 2019-06-19 11:59:46 +01:00
direntries_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
direntries.go fs: Allow sync of a file and a directory with the same name 2019-06-09 15:57:05 +01:00
dump_test.go Fix broken flag type tests 2019-02-07 16:42:26 +00:00
dump.go Make flags show up with their proper names, eg SizeSuffix rather than int 2019-02-07 11:57:26 +00:00
fs_test.go fs: Make prefix free backend config read prefix free env var also 2019-09-14 18:26:07 +01:00
fs.go operations: make NewOverrideObjectInfo public and factor uses 2020-01-18 11:41:33 +00:00
log_test.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
log.go log: add object and objectType to json logs 2019-08-02 15:57:09 +01:00
mimetype.go Add context propagation to rclone 2019-06-19 11:59:46 +01:00
options_test.go fs: Adjust RangeOption.Decode to return -1 for read to end 2018-01-27 14:31:29 +00:00
options.go fs: fix FixRangeOption so it works with 0 length files 2019-08-03 18:25:44 +01:00
parseduration_test.go fs: Higher units for ETA - fixes #3221 2019-07-01 12:09:19 +01:00
parseduration.go fs: Higher units for ETA - fixes #3221 2019-07-01 12:09:19 +01:00
sizesuffix_test.go fs: Implement Scan method for SizeSuffix and Duration 2018-07-16 08:50:52 +01:00
sizesuffix.go fix spelling 2019-04-30 14:12:18 +02:00
version.go Start v1.51.0-DEV development 2020-02-01 12:32:21 +00:00
versioncheck.go build: update to use go1.14 for the build 2020-02-26 21:26:47 +00:00