1
mirror of https://github.com/rclone/rclone synced 2024-11-29 07:55:12 +01:00
rclone/backend/union
Nick Craig-Wood bb0c4ad2d8 union: fix rename not working with union of local disk and bucket based remote
Before this change the union's feature flags were a strict AND of the
underlying remotes. This means that a union of a local disk (which can
Move but not Copy) and a bucket based remote (which can Copy but not
Move) could neither Move nor Copy.

This fix advertises Move in the union if all the remotes can Move or
Copy. It also implements Move as Copy+Delete (like rclone does
normally) if the underlying union does not support Move.

This enables renames to work with unions of local disk and bucket
based remotes expected.

Fixes #5632
2021-09-30 20:09:02 +01:00
..
policy union: fix crash when using epff policy - fixes #5000 2021-03-15 19:22:07 +00:00
upstream union: fix initialisation broken in refactor - fixes #5139 2021-03-24 09:47:38 +00:00
entry.go union: fix union attempting to update files on a read only file system 2021-03-15 19:22:07 +00:00
errors.go doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
union_internal_test.go union: fix rename not working with union of local disk and bucket based remote 2021-09-30 20:09:02 +01:00
union_test.go union: fix rename not working with union of local disk and bucket based remote 2021-09-30 20:09:02 +01:00
union.go union: fix rename not working with union of local disk and bucket based remote 2021-09-30 20:09:02 +01:00