Interface FileOperationParticipant

interface FileOperationParticipant {
    participate(target, source, operation, timeout, token): Promise<void>;
}

Methods

Methods

  • Participate in a file operation of a working copy. Allows to change the working copy before it is being saved to disk.

    Parameters

    • target: URI
    • source: undefined | URI
    • operation: FileOperation
    • timeout: number
    • token: CancellationToken

    Returns Promise<void>