rclone/fs/config
Nick Craig-Wood 3b21857097 config: clear fs cache of stale entries when altering config - fixes #4811
Before this change if a config was altered via the rc then when a new
backend was created from that config, if there was a backend already
running from the old config in the cache then it would be used instead
of creating a new backend with the new config, thus leading to
confusion.

This change flushes the fs cache of any backends based off a config
when that config is changed is over the rc.
2021-03-15 19:22:07 +00:00
..
configfile config: --config "" or "/notfound" for in memory config only #4996 2021-03-14 16:03:35 +00:00
configflags fs: make sure --low-level-retries, --checkers, --transfers are > 0 2021-03-15 17:05:35 +00:00
configmap all: fix go-critic linter suggestions 2018-08-06 21:14:03 +01:00
configstruct build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
flags flags: improve error message when reading environment vars #4888 2020-12-28 12:26:23 +00:00
obscure config: split up main file more and move tests into correct packages 2021-03-11 17:29:26 +00:00
testdata Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
authorize.go config: remove log.Fatal and replace with error passing where possible 2021-03-14 16:03:35 +00:00
config_read_password_unsupported.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
config_read_password.go build: make rclone build with wasm 2020-08-10 17:32:21 +01:00
config_test.go config: make config file reads reload the config file if needed #4996 2021-03-14 16:03:35 +00:00
config.go config: clear fs cache of stale entries when altering config - fixes #4811 2021-03-15 19:22:07 +00:00
crypt_internal_test.go config: split up main file more and move tests into correct packages 2021-03-11 17:29:26 +00:00
crypt_test.go config: split up main file more and move tests into correct packages 2021-03-11 17:29:26 +00:00
crypt.go config: remove log.Fatal and replace with error passing where possible 2021-03-14 16:03:35 +00:00
default_storage.go config: make config file system pluggable 2021-03-11 17:29:26 +00:00
rc_test.go config: make config file system pluggable 2021-03-11 17:29:26 +00:00
rc.go config: Wrap config library in an interface 2021-03-11 17:29:26 +00:00
ui_internal_test.go config: split up main file more and move tests into correct packages 2021-03-11 17:29:26 +00:00
ui_test.go config: split up main file more and move tests into correct packages 2021-03-11 17:29:26 +00:00
ui.go config: split up main file more and move tests into correct packages 2021-03-11 17:29:26 +00:00