mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-14 23:30:23 +01:00
fixes #58918
This commit is contained in:
Vendored
+7
@@ -164,9 +164,16 @@ export interface API {
|
||||
|
||||
export interface GitExtension {
|
||||
|
||||
readonly enabled: boolean;
|
||||
readonly onDidChangeEnablement: Event<boolean>;
|
||||
|
||||
/**
|
||||
* Returns a specific API version.
|
||||
*
|
||||
* Throws error if git extension is disabled. You can listed to the
|
||||
* [GitExtension.onDidChangeEnablement](#GitExtension.onDidChangeEnablement) event
|
||||
* to know when the extension becomes enabled/disabled.
|
||||
*
|
||||
* @param version Version number.
|
||||
* @returns API instance
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user