1
mirror of https://github.com/rclone/rclone synced 2024-11-21 22:50:16 +01:00
rclone/backend/sugarsync
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 sugarsync: new backend - fixes #622 2020-01-17 17:39:34 +00:00
sugarsync_internal_test.go sugarsync: new backend - fixes #622 2020-01-17 17:39:34 +00:00
sugarsync_test.go sugarsync: new backend - fixes #622 2020-01-17 17:39:34 +00:00
sugarsync.go dircache: simplify interface, fix corner cases and apply to backends 2020-06-25 09:41:36 +01:00