rclone/cmd/mountlib
Nick Craig-Wood 1fed2d910c config: make config file system pluggable
If you are using rclone a library you can decide to use the rclone
config file system or not by calling

    configfile.LoadConfig(ctx)

If you don't you will need to set `config.Data` to an implementation
of `config.Storage`.

Other changes
- change interface of config.FileGet to remove unused default
- remove MustValue from config.Storage interface
- change GetValue to return string or bool like elsewhere in rclone
- implement a default config file system which panics with helpful error
- implement getWithDefault to replace the removed MustValue
- don't embed goconfig.ConfigFile so we can change the methods
2021-03-11 17:29:26 +00:00
..
daemon_unix.go Update after goimports change 2018-12-04 10:11:57 +00:00
daemon.go mount: make --daemon work for macOS without CGO 2018-05-05 16:23:47 +01:00
mount.go cmount: fix mount dropping on macOS by setting --daemon-timeout 10m 2021-02-21 12:56:19 +00:00
rc_test.go config: make config file system pluggable 2021-03-11 17:29:26 +00:00
rc.go fs: Add context to NewFs #3257 #4685 2020-11-09 18:05:54 +00:00