UNPKG

sussudio

Version:

An unofficial VS Code Internal API

14 lines (13 loc) 736 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { URI } from "../../../base/common/uri.mjs"; export declare const IChecksumService: import("../../instantiation/common/instantiation.mjs").ServiceIdentifier<IChecksumService>; export interface IChecksumService { readonly _serviceBrand: undefined; /** * Computes the checksum of the contents of the resource. */ checksum(resource: URI): Promise<string>; }