function renameSync
Jump to headingrenameSync(): void
Renames the file from oldPath
to newPath
. Returns undefined
.
See the POSIX rename(2)
documentation for more details.
Parameters Jump to heading
Jump to headingoldPath: PathLike
Jump to headingnewPath: PathLike
Return Type Jump to heading
void