mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 07:29:35 +01:00
cf0bf159ab
Before this change if --user-server-modtime was in use the ModTime could change for an object as we receive it accurate to the nearest ms in listings, but only accurate to the nearest second in HEAD and GET requests. Normally AWS returns the milliseconds as .000 in listings, but if versions are in use it may not. Storj S3 also seems to return milliseconds. This patch tries to keep the maximum precision in the last modified time, so it doesn't update a last modified time with a truncated version if the times were the same to the nearest second. See: https://forum.rclone.org/t/cache-fingerprint-miss-behavior-leading-to-false-positive-stalen-cache/33404/ |
||
---|---|---|
.. | ||
gen_setfrom.go | ||
s3_internal_test.go | ||
s3_test.go | ||
s3.go | ||
setfrom.go | ||
v2sign.go |