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