mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
git api
This commit is contained in:
6
extensions/git/src/api/git.d.ts
vendored
6
extensions/git/src/api/git.d.ts
vendored
@@ -3,15 +3,16 @@
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { Uri, SourceControlInputBox } from 'vscode';
|
||||
import { Uri, SourceControlInputBox, Event } from 'vscode';
|
||||
|
||||
declare module GitExtension {
|
||||
|
||||
export interface API {
|
||||
readonly gitPath: string;
|
||||
readonly onDidOpenRepository: Event<Repository>;
|
||||
readonly onDidCloseRepository: Event<Repository>;
|
||||
}
|
||||
|
||||
//#region Deprecated API
|
||||
export interface InputBox {
|
||||
value: string;
|
||||
}
|
||||
@@ -20,7 +21,6 @@ declare module GitExtension {
|
||||
readonly rootUri: Uri;
|
||||
readonly inputBox: InputBox;
|
||||
}
|
||||
//#endregion
|
||||
}
|
||||
|
||||
export interface GitExtension {
|
||||
|
||||
Reference in New Issue
Block a user