MainThreadSCMProvider.$onChange

This commit is contained in:
Joao Moreno
2016-11-30 11:24:41 +01:00
parent 867f12a69c
commit 06b160e34e
5 changed files with 87 additions and 29 deletions

View File

@@ -232,12 +232,18 @@ export interface SCMProviderFeatures {
commitCommand?: string;
clickCommand?: string;
dragCommand?: string;
resourceGroups: vscode.SCMResourceGroup[];
supportsOriginalResource: boolean;
}
export interface SCMRawResource {
uri: string;
}
export abstract class MainThreadSCMShape {
$register(id: string, features: SCMProviderFeatures): void { throw ni(); }
$unregister(id: string): void { throw ni(); }
$onChange(id: string, resources: SCMRawResource[][]): void { throw ni(); }
}
// -- extension host