rclone/fs/config/configfile
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_other.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
configfile_test.go refactor: replace strings.Replace with strings.ReplaceAll 2022-05-17 11:08:37 +01:00
configfile_unix.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
configfile.go config: move locking to fix fatal error: concurrent map read and map write 2022-09-05 12:11:06 +01:00