MCPcopy Index your code
hub / github.com/anomalyco/opencode / withProcessEnv

Function withProcessEnv

packages/opencode/test/config/config.test.ts:236–238  ·  view source on GitHub ↗
(key: string, value: string | undefined, effect: Effect.Effect<A, E, R>)

Source from the content-addressed store, hash-verified

234}
235
236function withProcessEnv<A, E, R>(key: string, value: string | undefined, effect: Effect.Effect<A, E, R>) {
237 return withProcessEnvs({ [key]: value }, effect)
238}
239
240function withProcessEnvs<A, E, R>(entries: Record<string, string | undefined>, effect: Effect.Effect<A, E, R>) {
241 return Effect.acquireUseRelease(

Callers 1

config.test.tsFile · 0.85

Calls 1

withProcessEnvsFunction · 0.85

Tested by

no test coverage detected