igcv3 - v1.1.0
    Preparing search index...

    Function copyFile

    • Copy a file to destination, creating parent directory if needed.

      Parameters

      • src: string

        Source file path

      • dest: string

        Destination file path

      • overwrite: boolean = false

        If false, throws if destination exists

      Returns void

      If destination exists and overwrite is false

      If source file does not exist

      If copy operation fails (permissions)