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