1
mirror of https://github.com/rclone/rclone synced 2024-11-23 00:06:55 +01:00
rclone/backend/onedrive
Nick Craig-Wood a8652e2252 dircache: simplify interface, fix corner cases and apply to backends
Dircache was changed to:

- Remove special cases for the root directory
- Remove Fatal errors
- Call FindRoot on behalf of the user wherever possible
- Bring up to modern Go standards

Backends were changed to:

- Remove calls to FindRoot
- Change calls to FindRootAndPath to FindPath
- Don't make special cases for the root

This fixes several corner cases, for example removing a non existent
directory if FindRoot hasn't been called.
2020-06-25 09:41:36 +01:00
..
api doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
quickxorhash all: fix go-critic linter suggestions 2018-08-06 21:14:03 +01:00
onedrive_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
onedrive.go dircache: simplify interface, fix corner cases and apply to backends 2020-06-25 09:41:36 +01:00