Skip to main content
function rename
rename(
oldPath: PathLike,
newPath: PathLike,
): Promise<void>
Deprecated

Renames oldPath to newPath.

Parameters

oldPath: PathLike
newPath: PathLike

Return Type

Promise<void>

Fulfills with undefined upon success.

Back to top