1
mirror of https://github.com/rclone/rclone synced 2024-12-28 21:03:45 +01:00
rclone/backend/opendrive
nielash 9d2bd163c7 opendrive: fix moving file/folder within the same parent dir - #7591
Before this change, moving (renaming) a file or folder to a different name
within the same parent directory would fail, due to using the wrong API
operation ("/file/move_copy.json" and "/folder/move_copy.json", instead of the
separate "/file/rename.json" and "/folder/rename.json" that opendrive has for
this purpose.)

After this change, Move and DirMove check whether the move is within the same
parent dir. If so, "rename" is used. If not, "move_copy" is used, like before.
2024-02-21 18:02:19 +00:00
..
opendrive_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
opendrive.go opendrive: fix moving file/folder within the same parent dir - #7591 2024-02-21 18:02:19 +00:00
types.go opendrive: fix moving file/folder within the same parent dir - #7591 2024-02-21 18:02:19 +00:00