rclone/fs
Nick Craig-Wood 8d5bc7f28b fs/cache: fix moveto/copyto remote:file remote:file2
Before this change, if the cache was given a source `remote:file` it
stored `remote:` with the error `fs.ErrorIsFile` attached. This meant
that if it `remote:` was subsequently looked up it would return the
`fs.ErrorIsFile` error.

This broke `moveto remote:file remote:file2` as moveto would lookup
`remote:` from the second argument and erroneously get the
`fs.ErrorIsFile` error.

This likely broke other commands too.

This was broken in

4c9836035 fs/cache: Add Pin and Unpin and canonicalised lookup

Which was released in v1.52.0

The fix is to make a new cache entry for `remote:` with no error
attached in the case that the original call returned `fs.ErrorIsFile`.
2020-07-02 10:55:36 +01:00
..
accounting accounting: add HasBuffer method to Account 2020-06-30 12:03:39 +01:00
asyncreader asyncreader: Make StopBuffer as well as Abandon and fix confusion in callers 2020-06-09 18:05:12 +01:00
cache fs/cache: fix moveto/copyto remote:file remote:file2 2020-07-02 10:55:36 +01:00
chunkedreader doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
config operations: implement --refresh-times flag to set modtimes on hashless backends 2020-06-17 10:48:13 +01:00
dirtree build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
driveletter Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
filter doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
fserrors errors: add WSAECONNREFUSED and more to the list of retriable Windows errors 2020-06-17 10:46:22 +01:00
fshttp lib/structs: factor reflection based structure manipulation into a library 2020-06-10 12:28:48 +01:00
fspath fs: fix formatting of errInvalidCharacters error message 2020-06-16 15:08:09 +01:00
hash hash: fix hash names for DropboxHash and CRC-32 2019-10-30 12:20:10 +00:00
list build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
log log: fix --use-json-log going to stderr not --log-file on Windows - fixes #4367 2020-07-01 20:47:37 +01:00
march march: added flag to allow Unicode filenames to remain unique 2020-05-15 12:28:01 +01:00
object Remove backend dependency from fs/hash 2019-10-01 16:29:58 +01:00
operations rc: Add tests for operations/uploadfile 2020-06-25 11:38:24 +01:00
rc rc: Add operations/uploadfile to upload a file through rc using encoding multipart/form-data 2020-06-25 11:38:24 +01:00
sync sync: fix --track-renames-strategy modtime 2020-06-12 15:38:35 +01:00
version build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
walk Fix error counter - fixes #3650 2019-11-18 14:13:02 +00:00
bwtimetable_test.go fs: added weekday schedule into --bwlimit - fixes #1822 2018-06-17 18:38:09 +01:00
bwtimetable.go fs: added weekday schedule into --bwlimit - fixes #1822 2018-06-17 18:38:09 +01:00
config_list_test.go fs: fix tests for *SepList 2018-08-21 10:58:59 +01:00
config_list.go Make flags show up with their proper names, eg SizeSuffix rather than int 2019-02-07 11:57:26 +00:00
config.go operations: implement --refresh-times flag to set modtimes on hashless backends 2020-06-17 10:48:13 +01:00
cutoffmode_test.go fs: Use --cutoff-mode hard,soft,catious instead of 3 --max-transfer-mode flags 2020-03-01 09:49:55 +00:00
cutoffmode.go fs: Use --cutoff-mode hard,soft,catious instead of 3 --max-transfer-mode flags 2020-03-01 09:49:55 +00:00
deletemode.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
dir.go Add context propagation to rclone 2019-06-19 11:59:46 +01:00
direntries_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
direntries.go fs: Allow sync of a file and a directory with the same name 2019-06-09 15:57:05 +01:00
dump_test.go Fix broken flag type tests 2019-02-07 16:42:26 +00:00
dump.go Make flags show up with their proper names, eg SizeSuffix rather than int 2019-02-07 11:57:26 +00:00
fingerprint_test.go fs: add Fingerprint to detect changes in an object 2020-06-30 12:01:36 +01:00
fingerprint.go fs: add Fingerprint to detect changes in an object 2020-06-30 12:01:36 +01:00
fs_test.go fs: Make prefix free backend config read prefix free env var also 2019-09-14 18:26:07 +01:00
fs.go fs: define SlowModTime and SlowHash features in the relevant backends 2020-06-30 12:01:36 +01:00
log_test.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
log.go fs: generalise machinery for putting extra values when using --use-json-log 2020-04-11 18:16:21 +01:00
mimetype.go Add context propagation to rclone 2019-06-19 11:59:46 +01:00
options_test.go fs: fix FixRangeOption so it doesn't add HTTPOptions in place of bad Ranges 2020-04-24 12:32:09 +01:00
options.go doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
parseduration_test.go fs: allow --min-age/--max-age to take a date as well as a duration 2020-05-12 17:49:33 +01:00
parseduration.go fs: allow --min-age/--max-age to take a date as well as a duration 2020-05-12 17:49:33 +01:00
sizesuffix_test.go fs: Implement Scan method for SizeSuffix and Duration 2018-07-16 08:50:52 +01:00
sizesuffix.go fix spelling 2019-04-30 14:12:18 +02:00
version.go Start v1.52.2-DEV development 2020-06-24 14:35:12 +01:00
versioncheck.go build: update to use go1.14 for the build 2020-02-26 21:26:47 +00:00