MCPcopy 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
53const directoryHeader = (dir: string) => HttpClientRequest.setHeader("x-opencode-directory", dir)
54
55afterEach(async () => {
56 await disposeAllInstances()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected