MCPcopy Create free account
hub / github.com/effect-app/libs / readDirectory

Function readDirectory

repos/effect/packages/effect/src/FileSystem.ts:944–946  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

942 * const content = yield* fs.readFileString("any-file.txt")
943 * return content
944 * })
945 *
946 * // Provide the test layer
947 * const testProgram = Effect.provide(program, testLayer)
948 * Effect.runSync(testProgram) // => "mocked content"
949 * ```

Callers

nothing calls this directly

Calls 2

notFoundFunction · 0.85
failMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…