mirror of
https://github.com/rclone/rclone.git
synced 2025-02-22 21:57:24 +08:00

After the copy refactor: 179f978f75ed9742 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.