Function rename

  • Renames a file

    Parameters

    • oldPath: PathLike
    • newPath: PathLike

    Returns Promise<void>