Function renameFile

  • Renames a file from the old path to the new path.

    Parameters

    • oldPath: string

      The path of the file to be renamed.

    • newPath: string

      The new path for the renamed file.

    Returns Promise<void>

    • A promise that resolves when the file is renamed successfully.

Generated using TypeDoc