rclone/fs
Nick Craig-Wood 4c98360356 fs/cache: Add Pin and Unpin and canonicalised lookup
Before this change we stored cached Fs under the config string the
user gave us. As the result of fs.ConfigString() can often be
different after the backend has canonicalised the paths this meant
that we could not look up backends in the cache reliably.

After this change we store cached Fs under their config string as
returned from fs.ConfigString(f) after the Fs has been created. We
also store a map of user to canonical names (where they are different)
so the users can look up Fs under the names they passed to rclone too.

This change along with Pin and Unpin is necessary so we can look up
the Fs in use reliably in the `backend/command` remote control
interface.
2020-05-01 17:11:45 +01:00
..
accounting accounting: fix race condition in tests 2020-04-24 12:32:09 +01:00
asyncreader asyncreader: make ErrorStreamAbandoned public 2020-04-19 15:18:49 +01:00
cache fs/cache: Add Pin and Unpin and canonicalised lookup 2020-05-01 17:11:45 +01:00
chunkedreader chunkedreader: disable hash calculation for first segment 2019-11-11 16:20:27 +00:00
config fs: add --header flag to add options to every HTTP transaction #59 2020-04-23 15:24:21 +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 filter: Added --files-from-raw flag 2020-04-03 10:36:24 +01:00
fserrors fserrors: Make a new NoLowLevelRetry error and don't retry them #3777 2019-12-06 10:54:03 +00:00
fshttp fs: add --header flag to add options to every HTTP transaction #59 2020-04-23 15:24:21 +01:00
fspath config: check config names more carefully and report errors - fixes #3506 2019-09-06 12:07: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 fs/log: add support for syslog LOCAL facilities - fixes #4061 2020-03-13 21:44:52 +00:00
march sync: add --no-check-dest flag - fixes #3616 2019-12-29 16:47:57 +00:00
object Remove backend dependency from fs/hash 2019-10-01 16:29:58 +01:00
operations lsjson: Add --hash-type parameter and use it in lsf to speed up hashing 2020-04-29 16:09:45 +01:00
rc rc: add GetStructMissingOK 2020-04-29 09:42:31 +01:00
sync sync: make --track-renames tests only check rename count if expecting renames 2020-03-31 10:58:49 +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.go fs: added weekday schedule into --bwlimit - fixes #1822 2018-06-17 18:38:09 +01:00
bwtimetable_test.go fs: added weekday schedule into --bwlimit - fixes #1822 2018-06-17 18:38:09 +01:00
config.go fs: add --header flag to add options to every HTTP transaction #59 2020-04-23 15:24:21 +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_list_test.go fs: fix tests for *SepList 2018-08-21 10:58:59 +01: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
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
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.go fs: Allow sync of a file and a directory with the same name 2019-06-09 15:57:05 +01:00
direntries_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
dump.go Make flags show up with their proper names, eg SizeSuffix rather than int 2019-02-07 11:57:26 +00:00
dump_test.go Fix broken flag type tests 2019-02-07 16:42:26 +00:00
fs.go fs: add ConfigString function to return a canonical config string 2020-05-01 17:11:45 +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
log.go fs: generalise machinery for putting extra values when using --use-json-log 2020-04-11 18:16:21 +01:00
log_test.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
mimetype.go Add context propagation to rclone 2019-06-19 11:59:46 +01:00
options.go fs: fix FixRangeOption so it doesn't add HTTPOptions in place of bad Ranges 2020-04-24 12:32:09 +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
parseduration.go fs: Higher units for ETA - fixes #3221 2019-07-01 12:09:19 +01:00
parseduration_test.go fs: Higher units for ETA - fixes #3221 2019-07-01 12:09:19 +01:00
sizesuffix.go fix spelling 2019-04-30 14:12:18 +02:00
sizesuffix_test.go fs: Implement Scan method for SizeSuffix and Duration 2018-07-16 08:50:52 +01:00
version.go Start v1.51.0-DEV development 2020-02-01 12:32:21 +00:00
versioncheck.go build: update to use go1.14 for the build 2020-02-26 21:26:47 +00:00