@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
15 lines (13 loc) • 723 B
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 { URI } from '@sussudio/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>;
}