• Renames the given path.

    Parameters

    • path: string

      Current path.

    • newPath: string

      New desired path name.

    Returns Promise<void>