rclone/fs/sync
Anuar Serdaliyev f14871caf7
accounting: Correct exitcode on Transfer Limit Exceeded flag. Fixes #3203
Before this change the exit code for transfer limit exceeded was
incorrect. This was because the `resolveExitCode` function unwraps the
error thus reading the underlying error which is not the same as the
error it was comparing to (`ErrorMaxTransferLimitReached`).

This change fixes it by splitting the error definition in two so that
when the Fatal error is unwrapped we match against
`ErrorMaxTransferLimitReached` however when we return the error we
return `ErrorMaxTransferLimitReachedFatal`.
2020-03-10 12:00:10 +00:00
..
pipe_test.go sync: implement --order-by flag to order transfers - fixes #1205 2020-01-16 15:24:36 +00:00
pipe.go sync: implement --order-by flag to order transfers - fixes #1205 2020-01-16 15:24:36 +00:00
rc_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
rc.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
sync_test.go accounting: Correct exitcode on Transfer Limit Exceeded flag. Fixes #3203 2020-03-10 12:00:10 +00:00
sync.go copy/sync: only create empty directories when they don't exist on the remote 2020-03-03 16:24:22 +00:00