rclone/fs
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
..
accounting all: fix spelling across the project 2022-08-30 11:16:26 +02:00
asyncreader Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00
cache all: fix spelling across the project 2022-08-30 11:16:26 +02:00
chunkedreader build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
chunksize azureblob,b2,s3: fix chunksize calculations producing too many parts 2022-08-09 12:57:38 +01:00
config config: move locking to fix fatal error: concurrent map read and map write 2022-09-05 12:11:06 +01:00
dirtree all: fix spelling across the project 2022-08-30 11:16:26 +02:00
driveletter build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
filter filter: make sure we check --files-from when looking for a single file 2022-08-11 12:20:17 +01:00
fserrors Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00
fshttp staticcheck: TLS config NameToCertificate is deprecated, should instead let library select the first compatible chain from Certificates 2022-07-04 11:24:59 +02:00
fspath Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00
hash build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
list Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
log Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00
march Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
object Remove backend dependency from fs/hash 2019-10-01 16:29:58 +01:00
operations all: fix spelling across the project 2022-08-30 11:16:26 +02:00
rc all: fix spelling across the project 2022-08-30 11:16:26 +02:00
sync build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
walk build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
backend_config_test.go fs: add --all to rclone config create/update to ask all the config questions #3455 2021-05-14 14:07:44 +01:00
backend_config.go config: add utility function for backend config with list and custom input 2022-06-08 17:56:37 +02:00
bwtimetable_test.go Use binary prefixes for size and rate units 2021-04-27 02:25:52 +03:00
bwtimetable.go build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +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_test.go staticcheck: ignore suggestion to use context.TODO instead of nil when testing nil Context 2022-07-04 11:24:59 +02:00
config.go operations: add --server-side-across-configs global flag for any backend 2022-07-11 18:17:42 +01:00
configmap.go config: fix in memory config not saving on the fly backend config 2021-07-20 12:09:38 +01:00
countsuffix_test.go Use decimal prefixes for counts 2021-04-27 02:25:52 +03:00
countsuffix.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
cutoffmode_test.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
cutoffmode.go Error strings should not be capitalized 2022-06-23 23:26:02 +02:00
daemon_other.go mountlib: correctly daemonize for compatibility with automount - #5593 2021-10-02 23:45:16 +03:00
daemon_unix.go mountlib: correctly daemonize for compatibility with automount - #5593 2021-10-02 23:45:16 +03:00
deletemode.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
dir.go cmd/dedupe: make largest directory primary to minimize data moved (#3648) 2021-03-11 20:40:29 +03: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 Error strings should not be capitalized 2022-06-23 23:26:02 +02:00
dump.go Error strings should not be capitalized 2022-06-23 23:26:02 +02:00
features.go fs: implement optional Metadata interface for Objects #111 2022-06-29 11:21:29 +01:00
fingerprint_test.go test: Add context to mockfs.NewFs #3257 #4685 2020-11-09 18:05:54 +00:00
fingerprint.go fs: add Fingerprint to detect changes in an object 2020-06-30 12:01:36 +01:00
fs_test.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
fs.go sync: update docs and error messages to reflect fixes to overlap checks 2022-07-13 16:04:53 +01:00
log_test.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
log.go build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
metadata_test.go fs: add --metadata-set flag to specify metadata for uploads 2022-06-29 14:29:36 +01:00
metadata.go fs: add --metadata/-M flag to control whether metadata is copied 2022-06-29 14:29:36 +01:00
mimetype.go Do not override mime types from os defaults 2021-10-18 13:28:22 +01:00
mount_helper_test.go rclone.mount: ignore _netdev mount argument - FIxes #5808 2022-05-12 20:27:13 +01:00
mount_helper.go build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
newfs.go all: fix spelling across the project 2022-08-30 11:16:26 +02:00
open_options_test.go fs: add --metadata-set flag to specify metadata for uploads 2022-06-29 14:29:36 +01:00
open_options.go build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
pacer.go fs: split overgrown fs.go (#5405) 2021-06-14 14:42:49 +03:00
parseduration_test.go fs: fix parsing of times and durations of the form "YYYY-MM-DD HH:MM:SS" 2022-08-05 16:45:23 +01:00
parseduration.go fs: fix parsing of times and durations of the form "YYYY-MM-DD HH:MM:SS" 2022-08-05 16:45:23 +01:00
parsetime_test.go fs: fix parsing of times and durations of the form "YYYY-MM-DD HH:MM:SS" 2022-08-05 16:45:23 +01:00
parsetime.go fs: fix parsing of times and durations of the form "YYYY-MM-DD HH:MM:SS" 2022-08-05 16:45:23 +01:00
registry.go all: fix spelling across the project 2022-08-30 11:16:26 +02:00
sizesuffix_test.go Change byte unit format from MiByte to MiB 2021-08-31 09:57:27 +02:00
sizesuffix.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
tristate_test.go fs: add a tristate true/false/unset configuration value 2021-11-03 21:44:09 +00:00
tristate.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
types.go fs: implement optional Metadata interface for Objects #111 2022-06-29 11:21:29 +01:00
version.go Configurable version suffix independent of version number 2022-05-17 12:10:01 +01:00
versioncheck.go build: update to go1.19 and make go1.17 the minimum required version 2022-08-03 18:04:58 +01:00
versionsuffix.go Configurable version suffix independent of version number 2022-05-17 12:10:01 +01:00
versiontag.go Start v1.60.0-DEV development 2022-07-09 20:43:17 +01:00