mirror of
https://github.com/rclone/rclone.git
synced 2024-12-29 18:39:14 +01:00
59e14c25df
Before this change remotes without server side Move (eg swift, s3, gcs) would not be able to rename files. After it means nearly all remotes will be able to rename files on rclone mount with the notable exceptions of b2 and yandex. This changes checks to see if the remote can do Move or Copy then calls `operations.Move` to do the actual move. This will do a server side Move or Copy but won't download and re-upload the file. It also checks to see if the destination exists first which avoids conflicts or duplicates. Fixes #1965 Fixes #2569 |
||
---|---|---|
.. | ||
dedupe_test.go | ||
dedupe.go | ||
listdirsorted_test.go | ||
operations_internal_test.go | ||
operations_test.go | ||
operations.go |