mirror of
https://github.com/rclone/rclone
synced 2024-11-17 17:30:37 +01:00
e405ca7733
Before this change if a file was uploaded to a backend which didn't support modtimes, the time of the file read after the upload had completed would change to the time the file was uploaded on the backend. When using `--vfs-cache-mode writes` or `full` this time would be different by the `--vfs-write-back` delay which would cause applications to think the file had been modified. This changes uses the last modification time read by the OS as a virtual modtime for backends which don't support setting modtimes. It does not change the modtime to that actually uploaded. This means that as long as the file remains in the directory cache it will have the expected modtime. See: https://forum.rclone.org/t/saving-files-causes-wrong-modified-time-to-be-set-for-a-few-seconds-on-webdav-mount-with-bitrix24/36451 |
||
---|---|---|
.. | ||
test_vfs | ||
vfscache | ||
vfscommon | ||
vfsflags | ||
vfstest | ||
dir_handle_test.go | ||
dir_handle.go | ||
dir_test.go | ||
dir.go | ||
errors_test.go | ||
errors.go | ||
file_test.go | ||
file.go | ||
help.go | ||
make_open_tests.go | ||
open_test.go | ||
rc_test.go | ||
rc.go | ||
read_test.go | ||
read_write_test.go | ||
read_write.go | ||
read.go | ||
vfs_case_test.go | ||
vfs_test.go | ||
vfs.go | ||
vfstest_test.go | ||
vstate_string.go | ||
write_test.go | ||
write.go |