src/vs/workbench/services/workingCopy/common/workingCopyBackupTracker.ts/WorkingCopyBackupTracker/cancelBackupOperation
class WorkingCopyBackupTracker:	private cancelBackupOperation(workingCopy: IWorkingCopy): void {

		// Given a working copy we want to find the matching
		// identifier in our pending operations map because
		// we cannot use the working copy directly, as the
		// identifier might have different object identity.

		let workingCopyIdentifier: IWorkingCopyIdentifier | undefined = undefined;
		for (const [identifier] of this.pendingBackupOperations) {
			if (identifier.resource.toString() === workingCopy.resource.toString() && identifier.typeId === workingCopy.typeId) {
				workingCopyIdentifier = identifier;
				break;
			}
		}

		if (workingCopyIdentifier) {
			dispose(this.pendingBackupOperations.get(workingCopyIdentifier));
			this.pendingBackupOperations.delete(workingCopyIdentifier);
		}
	}