rclone/vfs/vfscache
Nick Craig-Wood 2347762b0d vfs: fix "file already exists" error for stale cache files
Before this change if a file was uploaded through a mount, then
deleted externally, trying to upload that file again could give EEXIST
"file already exists".

This was because the file already existing in the cache was confusing
rclone into thinking it already had the file.

The fix is to check that if rclone has a stale cache file then to
ignore it in this situation.

See: https://forum.rclone.org/t/rclone-cant-reuse-filenames/20400
2020-11-13 10:32:21 +00:00
..
downloaders accounting: add context.Context #3257 #4685 2020-11-09 18:05:54 +00:00
writeback Spelling fixes 2020-10-14 15:21:31 +01:00
cache_test.go Spelling fixes 2020-10-14 15:21:31 +01:00
cache.go fs: Add context to NewFs #3257 #4685 2020-11-09 18:05:54 +00:00
item_test.go Spelling fixes 2020-10-14 15:21:31 +01:00
item.go vfs: fix "file already exists" error for stale cache files 2020-11-13 10:32:21 +00:00