We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84cae7b commit 52a640dCopy full SHA for 52a640d
packages/hash-stream-node/src/fileStreamHasher.ts
@@ -4,6 +4,7 @@ import { Readable } from "stream";
4
5
import { HashCalculator } from "./HashCalculator";
6
7
+// ToDo: deprecate in favor of readableStreamHasher
8
export const fileStreamHasher: StreamHasher<Readable> = (hashCtor: HashConstructor, fileStream: Readable) =>
9
new Promise((resolve, reject) => {
10
if (!isReadStream(fileStream)) {
0 commit comments