MCPcopy Create free account
hub / github.com/Effect-TS/effect / readFile

Function readFile

packages/platform/deno/src/DenoFileSystem.ts:368–369  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

366}
367
368const readFile: FileSystem.FileSystem["readFile"] = (path) =>
369 tryPromise("readFile", path, (signal) => Deno.readFile(path, { signal }))
370
371const readLink: FileSystem.FileSystem["readLink"] = (path) => tryPromise("readLink", path, () => Deno.readLink(path))
372

Callers

nothing calls this directly

Calls 1

tryPromiseFunction · 0.70

Tested by

no test coverage detected