1fed2d910c
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 |
||
---|---|---|
.. | ||
jobs | ||
js | ||
rcflags | ||
rcserver | ||
webgui | ||
cache.go | ||
cache_test.go | ||
config.go | ||
config_test.go | ||
internal.go | ||
internal_test.go | ||
params.go | ||
params_test.go | ||
rc.go | ||
rc_test.go | ||
registry.go |