mirror of
https://github.com/rclone/rclone.git
synced 2026-09-14 15:26:30 -04:00
SetModTime (and the no_check_upload Update path) kept the caller's full precision modtime in memory while the server stores second precision, so until the object was re-read the modtime did not match what a fresh listing would report. This broke wrappers which compare exact modtimes, such as the hasher backend's fingerprint and the VFS cache. Truncate the modtime to second precision to match what the server stores.