NamespacesSwitchFunctionsrename rename(path, dest): Promise<void> Renames a file or directory. Parameters ParameterTypeDescriptionpathPathLikeSource file path to rename.destPathLikeDestination file path to rename to. Returns Promise<void>PreviousremoveSyncNextrenameSync