rclone/vfs/vfscache
Nick Craig-Wood c86a55c798 vfs: fix duplicates on rename - fixes #5469
Before this change, if there was an existing file being uploaded when
a file was renamed on top of it, then both would be uploaded. This
causes a duplicate in Google Drive as both files get uploaded at the
same time. This was triggered reliably by LibreOffice saving doc
files.

This fix removes any duplicates in the upload queue on rename.
2021-07-30 19:31:02 +01:00
..
downloaders Use binary prefixes for size and rate units 2021-04-27 02:25:52 +03:00
writeback vfs: fix duplicates on rename - fixes #5469 2021-07-30 19:31:02 +01:00
cache.go vfs: fix modtime changing when reading file into cache - fixes #5277 2021-04-28 09:33:22 +01:00
cache_test.go vfs: rename files in cache and cancel uploads on directory rename 2021-03-22 09:07:01 +00:00
item.go vfs: remove item.metaDirty as it was confusing and not used 2021-04-28 09:33:22 +01:00
item_test.go Spelling fixes 2020-10-14 15:21:31 +01:00