sussudio
Version:
An unofficial VS Code Internal API
17 lines (16 loc) • 1.01 kB
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { CancellationToken } from "../../../base/common/cancellation.mjs";
import { URI } from "../../../base/common/uri.mjs";
import { IDownloadService } from "./download.mjs";
import { IFileService } from "../../files/common/files.mjs";
import { IRequestService } from "../../request/common/request.mjs";
export declare class DownloadService implements IDownloadService {
private readonly requestService;
private readonly fileService;
readonly _serviceBrand: undefined;
constructor(requestService: IRequestService, fileService: IFileService);
download(resource: URI, target: URI, cancellationToken?: CancellationToken): Promise<void>;
}