rclone/backend/onedrive
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
..
api onedrive: enhance link creation with expiry, scope, type and password 2021-01-08 09:22:50 +00:00
quickxorhash all: fix go-critic linter suggestions 2018-08-06 21:14:03 +01:00
onedrive.go config: make config file reads reload the config file if needed #4996 2021-03-14 16:03:35 +00:00
onedrive_test.go onedrive: add support for china region operated by 21vianet #4963 (#4963) 2021-01-29 23:04:21 +03:00