Vocabulary
io.directories

Inputs
froma pathname string
toa pathname string


Outputs
None

Word description
Moves or renames a file. This operation is not guaranteed to be atomic. In particular, if you attempt to move a file across volumes, this will copy the file and then delete the original in a nontransactional manner.

Errors
Throws an error if the file does not exist or if the move operation fails.

See also
move-file-atomically

Definition


Methods