sussudio
Version:
An unofficial VS Code Internal API
36 lines (35 loc) • 2.44 kB
JavaScript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __param = (this && this.__param) || function (paramIndex, decorator) {
return function (target, key) { decorator(target, key, paramIndex); }
};
import { ILogService } from "../../log/common/log.mjs";
import { IUserDataProfilesService } from "../../userDataProfile/common/userDataProfile.mjs";
import { IUriIdentityService } from "../../uriIdentity/common/uriIdentity.mjs";
import { ITelemetryService } from "../../telemetry/common/telemetry.mjs";
import { AbstractExtensionsProfileScannerService } from "../common/extensionsProfileScannerService.mjs";
import { IFileService } from "../../files/common/files.mjs";
import { INativeEnvironmentService } from "../../environment/common/environment.mjs";
import { URI } from "../../../base/common/uri.mjs";
let ExtensionsProfileScannerService = class ExtensionsProfileScannerService extends AbstractExtensionsProfileScannerService {
constructor(environmentService, fileService, userDataProfilesService, uriIdentityService, telemetryService, logService) {
super(URI.file(environmentService.extensionsPath), fileService, userDataProfilesService, uriIdentityService, telemetryService, logService);
}
};
ExtensionsProfileScannerService = __decorate([
__param(0, INativeEnvironmentService),
__param(1, IFileService),
__param(2, IUserDataProfilesService),
__param(3, IUriIdentityService),
__param(4, ITelemetryService),
__param(5, ILogService)
], ExtensionsProfileScannerService);
export { ExtensionsProfileScannerService };