renameSync

external fun renameSync(oldPath: PathLike, newPath: PathLike)(source)

Renames the file from oldPath to newPath. Returns undefined.

See the POSIX rename(2) documentation for more details.

Since

v0.1.21