rclone/backend/seafile
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 seafile: fix accessing libraries > 2GB on 32 bit systems - fixes #4588 2020-09-15 21:55:10 +02:00
object.go doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
pacer.go fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
seafile.go config: make config file reads reload the config file if needed #4996 2021-03-14 16:03:35 +00:00
seafile_internal_test.go seafile: New backend for seafile server 2020-05-06 17:33:22 +00:00
seafile_test.go seafile: New backend for seafile server 2020-05-06 17:33:22 +00:00
webapi.go Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00