function rename
Jump to headingrename(): Promise<void>
Renames oldPath
to newPath
.
Parameters Jump to heading
Jump to headingoldPath: PathLike
Jump to headingnewPath: PathLike
Return Type Jump to heading
Promise<void>
Fulfills with undefined
upon success.