Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ directoryHeader
Function
directoryHeader
packages/opencode/test/server/httpapi-pty.test.ts:53–53 ·
view source on GitHub ↗
(dir: string)
Source
from the content-addressed store, hash-verified
51
}
52
53
const
directoryHeader = (dir: string) => HttpClientRequest.setHeader(
"x-opencode-directory"
, dir)
54
55
afterEach(
async
() => {
56
await
disposeAllInstances()
Callers
1
httpapi-pty.test.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected