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
..
2020-11-27 14:08:52 +00:00
2021-01-25 22:40:46 +03:00
2021-01-25 22:40:46 +03:00
2020-11-26 16:40:12 +00:00
2021-01-25 22:40:46 +03:00
2021-01-21 10:39:51 +00:00
2020-10-28 18:16:23 +00:00
2021-01-25 22:40:46 +03:00
2020-11-26 16:40:12 +00:00
2020-11-09 18:05:54 +00:00
2019-10-14 17:02:09 +01:00
2020-10-28 18:16:23 +00:00
2021-01-25 22:40:46 +03:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2020-10-28 18:16:23 +00:00
2020-11-26 16:40:12 +00:00
2020-11-26 16:40:12 +00:00
2018-06-02 17:35:13 +01:00