Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ setProcessEnv
Function
setProcessEnv
packages/opencode/test/provider/provider.test.ts:33–37 ·
view source on GitHub ↗
(k: string, v: string)
Source
from the content-addressed store, hash-verified
31
}
32
33
const
setProcessEnv = (k: string, v: string) =>
34
Effect.sync(() => {
35
rememberEnv(k)
36
process.env[k] = v
37
})
38
39
const
set = (k: string, v: string) =>
40
Effect.gen(
function
* () {
Callers
1
provider.test.ts
File · 0.85
Calls
2
rememberEnv
Function · 0.85
sync
Method · 0.80
Tested by
no test coverage detected