mirror of
https://github.com/rclone/rclone
synced 2024-12-02 11:53:45 +01:00
0bcf4769fe
Before this change the --local-no-updated flag would not error if the files changed in size during the transfer. The file could still be read beyond the size advertised though which caused problems with certain backends. After this change we attempt to provide a consistent view of the file once it has been opened. Once the file has had stat() called on it for the first time we - Only transfer the size that stat gave - Only checksum the size that stat gave - Don't update the stat info for the file This means that files that are extending can be transferred - rclone will transfer the length it saw the first time it listed the file. See: https://forum.rclone.org/t/transport-connection-broken/16494/21 |
||
---|---|---|
.. | ||
aaaa | ||
about_unix.go | ||
about_windows.go | ||
encode_darwin.go | ||
encode_other.go | ||
encode_windows.go | ||
fadvise_other.go | ||
fadvise_unix.go | ||
lchtimes_unix.go | ||
lchtimes.go | ||
local_internal_test.go | ||
local_test.go | ||
local.go | ||
read_device_other.go | ||
read_device_unix.go | ||
remove_other.go | ||
remove_test.go | ||
remove_windows.go | ||
tests_test.go |