Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ which.test.ts
File
which.test.ts
packages/core/test/util/which.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, test } from
"bun:test"
2
import
fs from
"fs/promises"
3
import
path from
"path"
4
import
{ which } from
"@opencode-ai/core/util/which"
Callers
nothing calls this directly
Calls
8
which
Function · 0.90
tmpdir
Function · 0.90
test
Function · 0.85
envPath
Function · 0.85
cmd
Function · 0.70
same
Function · 0.70
env
Function · 0.70
describe
Function · 0.50
Tested by
no test coverage detected