mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 07:29:35 +01:00
31773ecfbf
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 |
||
---|---|---|
.. | ||
common | ||
policy | ||
upstream | ||
entry.go | ||
errors_test.go | ||
errors.go | ||
union_internal_test.go | ||
union_test.go | ||
union.go |