mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
git status through extension!
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user