rclone/fs/config
Nick Craig-Wood 3cb7734eac config: move locking to fix fatal error: concurrent map read and map write
Before this change we assumed that github.com/Unknwon/goconfig was
threadsafe as documented.

However it turns out it is not threadsafe and looking at the code it
appears that making it threadsafe might be quite hard.

So this change increases the lock coverage in configfile to cover the
goconfig uses also.

Fixes #6378
2022-09-05 12:11:06 +01:00
..
configfile config: move locking to fix fatal error: concurrent map read and map write 2022-09-05 12:11:06 +01:00
configflags operations: add --server-side-across-configs global flag for any backend 2022-07-11 18:17:42 +01:00
configmap all: fix spelling across the project 2022-08-30 11:16:26 +02:00
configstruct Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
flags config: fixed issues with flags/options set by environment vars. 2021-07-05 16:38:20 +01:00
obscure Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
testdata Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
authorize.go build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
config_read_password_unsupported.go fs/config, lib/terminal: use golang.org/x/term 2022-04-01 12:48:18 +01:00
config_read_password.go fs/config, lib/terminal: use golang.org/x/term 2022-04-01 12:48:18 +01:00
config_test.go config: delay load config file (#5258) 2021-04-26 23:37:49 +02:00
config.go config: use os.UserCacheDir from go stdlib to find cache dir #6095 2022-04-11 11:44:15 +01: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: delay load config file (#5258) 2021-04-26 23:37:49 +02:00
crypt.go Error strings should not be capitalized 2022-06-23 23:26:02 +02:00
default_storage_test.go config: replace defaultConfig with a thread-safe in-memory implementation 2021-05-07 16:04:09 +01:00
default_storage.go config: replace defaultConfig with a thread-safe in-memory implementation 2021-05-07 16:04:09 +01:00
rc_test.go config: delay load config file (#5258) 2021-04-26 23:37:49 +02:00
rc.go docs: cross link doc pages for related commands 2022-06-21 23:43:00 +02:00
ui_test.go config: fix handling of default, exclusive and required properties of multiple-choice options 2022-01-16 14:57:38 +01:00
ui.go config: ajust section headers to improve readability 2022-06-08 19:24:38 +02:00