Theia API Documentation v1.65.0
    Preparing search index...
    interface CopyFileOptions {
        fromUserGesture?: boolean;
        overwrite?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    fromUserGesture?: boolean

    Indicates that a user action triggered the opening, e.g. via mouse or keyboard use. Default is true.

    overwrite?: boolean

    Overwrite the file to create if it already exists on disk. Otherwise an error will be thrown (FILE_MODIFIED_SINCE).