2024-09-11 02:37:36 +00:00
|
|
|
/*---------------------------------------------------------------------------------------------
|
|
|
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
|
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
declare module 'vscode' {
|
|
|
|
|
|
|
|
|
|
// https://github.com/microsoft/vscode/issues/169012
|
|
|
|
|
|
|
|
|
|
export namespace window {
|
|
|
|
|
export function registerQuickDiffProvider(selector: DocumentSelector, quickDiffProvider: QuickDiffProvider, label: string, rootUri?: Uri): Disposable;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-01 02:01:53 +00:00
|
|
|
export interface QuickDiffProvider {
|
2024-09-11 02:37:36 +00:00
|
|
|
label?: string;
|
2025-03-01 02:01:53 +00:00
|
|
|
readonly visible?: boolean;
|
2024-09-11 02:37:36 +00:00
|
|
|
}
|
|
|
|
|
}
|