MCPcopy Create free account
hub / github.com/tiann/hapi / setHapiHome

Function setHapiHome

cli/src/opencode/utils/hookPlugin.test.ts:34–36  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

32}
33
34function setHapiHome(value: string): void {
35 (globalThis as { __hapiHomeStub?: string }).__hapiHomeStub = value;
36}
37
38function resetHapiHome(): void {
39 delete (globalThis as { __hapiHomeStub?: string }).__hapiHomeStub;

Callers 1

hookPlugin.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected