Function moveFile
Moves or renames a file.
void moveFile
(
GenericPath!(vibe.core.path.PosixPathFormat) from,
GenericPath!(vibe.core.path.PosixPathFormat) to,
bool copy_fallback = false
) @safe;
void moveFile
(
string from,
string to,
bool copy_fallback = false
) @safe;
Parameters
Name | Description |
---|---|
from | Path to the file/directory to move/rename. |
to | The target path |
copy_fallback | Determines if copy/remove should be used in case of the source and destination path pointing to different devices. |