mirror of
https://github.com/rclone/rclone
synced 2024-11-21 22:50:16 +01:00
c69eb84573
This fixes the Root() returned by the backend when it has returned fs.ErrorIsFile. Before this change it returned a root which included the file path. Because Root() was wrong this caused the detection of the file being moved over itself check to fail. This adds an integration test to check it for all backends. See: https://forum.rclone.org/t/rclone-move-chunker-dir-file-chunker-dir-deletes-all-file-chunks/43333/ |
||
---|---|---|
.. | ||
common | ||
policy | ||
upstream | ||
entry.go | ||
errors_test.go | ||
errors.go | ||
union_internal_test.go | ||
union_test.go | ||
union.go |