UNPKG

401 BTypeScriptView Raw
1/// <reference types="node" />
2import { PortablePath } from '@yarnpkg/fslib';
3import { BinaryLike } from 'crypto';
4export declare function makeHash<T extends string = string>(...args: Array<BinaryLike | null>): T;
5export declare function checksumFile(path: PortablePath): Promise<string>;
6export declare function checksumPattern(pattern: string, { cwd }: {
7 cwd: PortablePath;
8}): Promise<string>;