rclone/backend/union
Nick Craig-Wood 23c826db52 union: fix writing with the all policy - fixes #4534
Before this change writing with the all policy deadlocked while
uploading.

This change fixes the problem by fixing the multi reader, closing the
pipes at the correct time with the correct error. This is factored
into a new function as it was used twice.

This patch also adds a new test which tests the all policies.
2020-09-01 18:21:03 +01:00
..
policy doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
upstream union: fix tests by looking for fs.ErrorDirNotFound found in Purge and About 2020-08-19 18:04:16 +01:00
entry.go union: fix writing with the all policy - fixes #4534 2020-09-01 18:21:03 +01:00
errors.go doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
union.go union: fix writing with the all policy - fixes #4534 2020-09-01 18:21:03 +01:00
union_test.go union: fix writing with the all policy - fixes #4534 2020-09-01 18:21:03 +01:00