renameAsync

external fun renameAsync(oldPath: PathLike, newPath: PathLike): Promise<Void>(source)

Renames oldPath to newPath.

Since

v10.0.0

Return

Fulfills with undefined upon success.