Files
meta-hash/src/lib/file-id/FileIDComputerInterface.ts
T
2024-04-08 16:13:08 +02:00

6 lines
237 B
TypeScript

import {CID_ALGORITHM_NAMES} from "@root/hash-compute/MultiHashData";
import * as Stream from "stream";
export interface FileIDComputerInterface{
computeCIDs(filePath: Stream, algorithms: CID_ALGORITHM_NAMES[]): Promise<string[]>;
}