MCPcopy Create free account
hub / github.com/WebAssembly/wasi-testsuite / readFile

Function readFile

tools/jco_runner.mjs:242–245  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

240 const { mkdtemp } = await import("node:fs/promises");
241 return mkdtemp(join(tmpdir(), prefix));
242}
243
244async function readFile(path) {
245 const { readFile } = await import("node:fs/promises");
246 return readFile(path);
247}
248

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected