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

Function makeTempDir

cli/src/opencode/utils/hookPlugin.test.ts:30–32  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

28import { ensureOpencodeHookPlugin } from './hookPlugin';
29
30function makeTempDir(prefix: string): string {
31 return mkdtempSync(join(tmpdir(), prefix));
32}
33
34function setHapiHome(value: string): void {
35 (globalThis as { __hapiHomeStub?: string }).__hapiHomeStub = value;

Callers 1

hookPlugin.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected