• Renames a file.

    Parameters

    • from: string

      Path to the file to be renamed.

    • to: string

      New path for the file.

    Returns Promise<void>