rclone/fs/operations
Nick Craig-Wood 23ab6fa3a0 operations: fix server side copies on partial upload backends after refactor
After the copy refactor:

179f978f75 operations: refactor Copy into methods on an temporary object

There was some confusion in the code about server side copies - should
they or shouldn't they use partials?

This manifested in unit test failures for remotes which supported
server side Copy and PartialUploads. This combination is rare and only
exists in the sftp backend with the --sftp-copy-is-hardlink flag.

This fix makes the choice that backends which set PartialUploads
always use partials even for server side copies.
2023-10-30 16:50:19 +00:00
..
check_test.go test: replace defer cleanup with t.Cleanup 2022-12-09 14:38:05 +00:00
check.go fs: use atomic types 2023-08-22 12:52:13 +01:00
copy_test.go operations: fix invalid UTF-8 when truncating file names when not using --inplace 2023-10-29 14:04:37 +00:00
copy.go operations: fix server side copies on partial upload backends after refactor 2023-10-30 16:50:19 +00:00
dedupe_test.go test: replace defer cleanup with t.Cleanup 2022-12-09 14:38:05 +00:00
dedupe.go accounting: Make checkers show what they are doing 2023-03-01 11:10:38 +00:00
listdirsorted_test.go test: replace defer cleanup with t.Cleanup 2022-12-09 14:38:05 +00:00
lsjson_test.go rc: fix operations/stat with trailing / 2023-03-22 16:22:45 +00:00
lsjson.go lsjson: make --stat more efficient 2023-04-28 14:31:05 +01:00
multithread_test.go multithread: refactor multithread operation to use OpenChunkWriter if available #7056 2023-08-12 17:55:01 +01:00
multithread.go operations: fix OpenOptions ignored in copy if operation was a multiThreadCopy 2023-10-11 11:19:03 +01:00
operations_internal_test.go fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
operations_test.go operations: factor Copy into its own file 2023-10-29 14:04:37 +00:00
operations.go operations: factor Copy into its own file 2023-10-29 14:04:37 +00:00
rc_test.go operations: add operations/check to the rc API 2023-10-04 17:52:57 +01:00
rc.go operations: add operations/check to the rc API 2023-10-04 17:52:57 +01:00
reopen_test.go Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
reopen.go operations: reopen downloads on error when using check --download and cat 2023-06-10 14:42:29 +01:00