Luna::VFS::move_file
RV move_file(const Path &from_path, const Path &to_path, FileMoveFlag flags=FileMoveFlag::none)
Moves the file or directory from the source path to the destination path. This call can also be used to rename a file.
Parameters
-
in from_path
Source file path.
-
in to_path
Destination file path.
Possible Errors:
-
BasicError::bad_arguments
-
BasicError::already_exists
-
BasicError::access_denied
-
BasicError::not_found
-
BasicError::bad_platform_call for all errors that cannot be identified.