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 da4d0c8 commit b087210Copy full SHA for b087210
tests/helpers/io.ts
@@ -1,4 +1,4 @@
1
-import { createHash, iter } from "../../dev_deps.ts";
+import { createHash } from "../../dev_deps.ts";
2
import type { SupportedAlgorithm } from "../../dev_deps.ts";
3
4
export const calculateFileHash = async (
@@ -7,7 +7,7 @@ export const calculateFileHash = async (
7
): Promise<string> => {
8
const hash = createHash(hashMethod);
9
const file = await Deno.open(filePath);
10
- for await (const chunk of iter(file)) {
+ for await (const chunk of Deno.iter(file)) {
11
hash.update(chunk);
12
}
13
Deno.close(file.rid);
0 commit comments