mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 18:31:17 +08:00
279d9ecc56
Before this change we tested special errors for straight equality. This works for all normal backends, but the union backend may return wrapped errors which contain the special error types. In particular if a pcloud backend was part of a union when attempting to set modification times the fs.ErrorCantSetModTime return wasn't understood because it was wrapped in a union.Error. This fixes the problem by using errors.Is instead in all the comparisons in operations. See: https://forum.rclone.org/t/failed-to-set-modification-time-1-error-pcloud-cant-set-modified-time/38596 |
||
---|---|---|
.. | ||
check_test.go | ||
check.go | ||
dedupe_test.go | ||
dedupe.go | ||
listdirsorted_test.go | ||
lsjson_test.go | ||
lsjson.go | ||
multithread_test.go | ||
multithread.go | ||
operations_internal_test.go | ||
operations_test.go | ||
operations.go | ||
rc_test.go | ||
rc.go | ||
reopen_test.go | ||
reopen.go |