mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 09:38:38 +01:00
Extract remote source provider registry into the vscode.git-base extension (#137656)
This commit is contained in:
15
extensions/git/src/remotePublisher.ts
Normal file
15
extensions/git/src/remotePublisher.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { Disposable, Event } from 'vscode';
|
||||
import { RemoteSourcePublisher } from './api/git';
|
||||
|
||||
export interface IRemoteSourcePublisherRegistry {
|
||||
readonly onDidAddRemoteSourcePublisher: Event<RemoteSourcePublisher>;
|
||||
readonly onDidRemoveRemoteSourcePublisher: Event<RemoteSourcePublisher>;
|
||||
|
||||
getRemoteSourcePublishers(): RemoteSourcePublisher[];
|
||||
registerRemoteSourcePublisher(publisher: RemoteSourcePublisher): Disposable;
|
||||
}
|
||||
Reference in New Issue
Block a user