MCPcopy Create free account
hub / github.com/anomalyco/opencode / envPath

Function envPath

packages/core/test/util/which.test.ts:25–30  ·  view source on GitHub ↗
(Path: string)

Source from the content-addressed store, hash-verified

23}
24
25function envPath(Path: string): NodeJS.ProcessEnv {
26 return {
27 Path,
28 PathExt: process.env["PathExt"] ?? process.env["PATHEXT"],
29 }
30}
31
32function same(a: string | null, b: string) {
33 if (process.platform === "win32") {

Callers 1

which.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected