rclone/fs/operations
Nick Craig-Wood f2c05bc239 operations: fix -u/--update with google photos / files of unknown size
Before this change if -u/--update was in effect we compared the size
of the files to see if the transfer should go ahead.  This was
comparing -1 with an actual size so the transfer always proceeded.

After this change we use the existing `sizeDiffers` function which
does the correct comparison with -1 for files of unknown length.

See: https://forum.rclone.org/t/sync-with-google-photos-to-local-drive-will-result-in-recoping/11605
2019-09-06 10:11:59 +01:00
..
dedupe.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
dedupe_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
listdirsorted_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
lsjson.go fs: Implement UnWrapObject and UnWrapFs 2019-08-14 15:07:38 +01:00
multithread.go operations: disable multi thread copy for local to local copies #3419 2019-08-14 15:07:38 +01:00
multithread_test.go operations: disable multi thread copy for local to local copies #3419 2019-08-14 15:07:38 +01:00
operations.go operations: fix -u/--update with google photos / files of unknown size 2019-09-06 10:11:59 +01:00
operations_internal_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
operations_test.go copyurl: fix copying files that return HTTP errors 2019-08-07 22:29:44 +01:00
rc.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
rc_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
reopen.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
reopen_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00