FilesystemFunction: rename()On this pageFunction: rename() rename(path, newPath): Promise<void> Renames the given path. Parameters path string Current path. newPath string New desired path name. Returns Promise<void>