1
mirror of https://github.com/rclone/rclone synced 2024-11-05 01:42:31 +01:00
rclone/fs/sync
Nick Craig-Wood fb06427c69 sync: fix --track-renames-strategy modtime
Before this change `--track-renames-strategy` was broken. The hashing
method it used could declare times that were very close together to be
different.

The time hash was discarded and instead we check the modification time
window on every hash match.

Provided that the user doesn't use `--track-renames-strategy` on a
huge number of identically sized files this will perform just fine.

See: https://forum.rclone.org/t/track-renames-strategy-modtime-doesnt-work/16992/5
2020-06-12 15:38:35 +01:00
..
pipe_test.go sync: implement --order-by xxx,mixed 2020-03-16 15:50:04 +00:00
pipe.go sync: allow --max-backlog to be -ve meaning as large as possible 2020-05-22 17:50:07 +01:00
rc_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
rc.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
sync_test.go sync,copy,move: add --check-first to do all checking before starting transfers 2020-05-22 17:50:07 +01:00
sync.go sync: fix --track-renames-strategy modtime 2020-06-12 15:38:35 +01:00