- Preparing search index...
- The search index is not available
bun-types
- rename(oldPath: PathLike, newPath: PathLike): Promise<void>
-
Parameters
-
oldPath: PathLike
-
newPath: PathLike
Returns Promise<void>
- rename(oldPath: PathLike, newPath: PathLike): Promise<void>
-
Parameters
-
oldPath: PathLike
-
newPath: PathLike
Returns Promise<void>
Renames
oldPath
tonewPath
.Since
v0.0.67
Returns
Fulfills with
undefined
upon success.