From 52a640d8194c3d22988591a8751d24fec0c15e4a Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Mon, 21 Feb 2022 17:06:46 +0000 Subject: [PATCH] chore: add a ToDo to deprecate fileStreamHasher --- packages/hash-stream-node/src/fileStreamHasher.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/hash-stream-node/src/fileStreamHasher.ts b/packages/hash-stream-node/src/fileStreamHasher.ts index b15a92af4a031..5accbf903cb24 100644 --- a/packages/hash-stream-node/src/fileStreamHasher.ts +++ b/packages/hash-stream-node/src/fileStreamHasher.ts @@ -4,6 +4,7 @@ import { Readable } from "stream"; import { HashCalculator } from "./HashCalculator"; +// ToDo: deprecate in favor of readableStreamHasher export const fileStreamHasher: StreamHasher = (hashCtor: HashConstructor, fileStream: Readable) => new Promise((resolve, reject) => { if (!isReadStream(fileStream)) {