rclone/backend/union
Nick Craig-Wood 31773ecfbf union: allow errors to be unwrapped for inspection
Before this change the Errors type in the union backend produced
errors which could not be Unwrapped to test their type.

This adds the (go1.20) Unwrap method to the Errors type which allows
errors.Is to work on these errors.

It also adds unit tests for the Errors type and fixes a couple of
minor bugs thrown up in the process.

See: https://forum.rclone.org/t/failed-to-set-modification-time-1-error-pcloud-cant-set-modified-time/38596
2023-06-10 14:39:41 +01:00
..
common union: add min_free_space option for lfs/eplfs policies - fixes #6071 2022-06-16 22:13:50 +01:00
policy union: the root folder shows the modtime configured by --default-time #6986 2023-05-04 15:03:11 +01:00
upstream build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
entry.go Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
errors_test.go union: allow errors to be unwrapped for inspection 2023-06-10 14:39:41 +01:00
errors.go union: allow errors to be unwrapped for inspection 2023-06-10 14:39:41 +01:00
union_internal_test.go fstest: remove spurious contents return from PutTestContents and friends 2022-06-29 11:18:02 +01:00
union_test.go union: implement missing methods 2023-05-14 11:22:57 +01:00
union.go union: implement missing methods 2023-05-14 11:22:57 +01:00