mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-29 00:00:29 -04:00
Merge from master
This commit is contained in:
18
src/vs/platform/download/common/download.ts
Normal file
18
src/vs/platform/download/common/download.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { URI } from 'vs/base/common/uri';
|
||||
import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
|
||||
import { CancellationToken } from 'vs/base/common/cancellation';
|
||||
|
||||
export const IDownloadService = createDecorator<IDownloadService>('downloadService');
|
||||
|
||||
export interface IDownloadService {
|
||||
|
||||
_serviceBrand: any;
|
||||
|
||||
download(uri: URI, to: string, cancellationToken?: CancellationToken): Promise<void>;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user