Files

8 lines
227 B
TypeScript
Raw Permalink Normal View History

2026-05-31 18:44:04 +08:00
export type FileIntegrity = {
algorithm: 'SHA256';
hash: string;
blockSize: number;
blocks: string[];
};
export declare function getFileIntegrity(inputFileStream: NodeJS.ReadableStream): Promise<FileIntegrity>;