mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
scm api: getOriginalResource
This commit is contained in:
@@ -229,6 +229,8 @@ export abstract class MainProcessExtensionServiceShape {
|
||||
}
|
||||
|
||||
export abstract class MainThreadSCMShape {
|
||||
$register(id: string, registerOriginalResourceProvider: boolean): void { throw ni(); }
|
||||
$unregister(id: string): void { throw ni(); }
|
||||
}
|
||||
|
||||
// -- extension host
|
||||
@@ -359,6 +361,7 @@ export abstract class ExtHostTerminalServiceShape {
|
||||
}
|
||||
|
||||
export abstract class ExtHostSCMShape {
|
||||
$getBaselineResource(id: string, uri: URI): TPromise<URI> { throw ni(); }
|
||||
}
|
||||
|
||||
// --- proxy identifiers
|
||||
@@ -382,7 +385,7 @@ export const MainContext = {
|
||||
MainThreadTerminalService: createMainId<MainThreadTerminalServiceShape>('MainThreadTerminalService', MainThreadTerminalServiceShape),
|
||||
MainThreadWorkspace: createMainId<MainThreadWorkspaceShape>('MainThreadWorkspace', MainThreadWorkspaceShape),
|
||||
MainProcessExtensionService: createMainId<MainProcessExtensionServiceShape>('MainProcessExtensionService', MainProcessExtensionServiceShape),
|
||||
MainThreadSCM: createMainId('MainThreadSCM', MainThreadSCMShape)
|
||||
MainThreadSCM: createMainId<MainThreadSCMShape>('MainThreadSCM', MainThreadSCMShape)
|
||||
};
|
||||
|
||||
export const ExtHostContext = {
|
||||
|
||||
Reference in New Issue
Block a user