9d2bd163c7
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. |
||
---|---|---|
.. | ||
opendrive.go | ||
opendrive_test.go | ||
types.go |