git status through extension!

This commit is contained in:
Joao Moreno
2016-12-01 10:29:12 +01:00
parent 27793c49e8
commit e0e2be3384
10 changed files with 88 additions and 254 deletions

View File

@@ -229,21 +229,20 @@ export abstract class MainProcessExtensionServiceShape {
}
export interface SCMProviderFeatures {
label: string;
commitCommand?: string;
clickCommand?: string;
dragCommand?: string;
resourceGroups: vscode.SCMResourceGroup[];
supportsOriginalResource: boolean;
}
export interface SCMRawResource {
uri: string;
}
export type SCMRawResource = [string /*uri*/];
export type SCMRawResourceGroup = [string /*id*/, string /*label*/, SCMRawResource[]];
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(); }
$onChange(id: string, resources: SCMRawResourceGroup[]): void { throw ni(); }
}
// -- extension host