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

Function make

repos/effect/packages/effect/src/ConfigProvider.ts:400–402  ·  view source on GitHub ↗
(get: (path: Path) => Effect.Effect<Node | undefined, SourceError>)

Source from the content-addressed store, hash-verified

398 * The `get` callback receives a `Path` and must return
399 * `Effect<Node | undefined, SourceError>`. Return `undefined` when the path does
400 * not exist, a `Node` when it does, and fail with `SourceError` only when the
401 * source cannot be read.
402 *
403 * Providers created by `make` also implement the path-transformation
404 * capability used by {@link mapInput}, {@link constantCase}, and
405 * {@link nested}.

Callers 3

fromUnknownFunction · 0.70
fromEnvFunction · 0.70
ConfigProvider.tsFile · 0.70

Calls 1

makeSourceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…