rclone/lib/oauthutil
Nick Craig-Wood 46078d391f config: make config file reads reload the config file if needed #4996
Before this change the config file needed to be explicitly reloaded.
This coupled the config file implementation with the backends
needlessly.

This change stats the config file to see if it needs to be reloaded on
every config file operation.

This allows us to remove calls to

- config.SaveConfig
- config.GetFresh

Which now makes the the only needed interface to the config file be
that provided by configmap.Map when rclone is not being configured.

This also adds tests for configfile
2021-03-14 16:03:35 +00:00
..
oauthutil.go config: make config file reads reload the config file if needed #4996 2021-03-14 16:03:35 +00:00
renew.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00