Interface FileOperationParticipant
interface FileOperationParticipant { participate(target,
source,
operation,
timeout,
token): Promise<void>; } Methods
participate
- participate(target, source, operation, timeout, token): Promise<void>
Parameters
- target: URI
- source: undefined | URI
- operation: FileOperation
- timeout: number
- token: CancellationToken
Returns Promise<void>
Participate in a file operation of a working copy. Allows to change the working copy before it is being saved to disk.