MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / tmpDir

Function tmpDir

test/artifact-live-server.test.ts:9–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8const dirs: string[] = [];
9async function tmpDir(): Promise<string> {
10 const d = await fs.mkdtemp(path.join(os.tmpdir(), 'qx-live-'));
11 dirs.push(d);
12 return d;
13}
14// A plain filesystem WriteFn (the live test doesn't need the journaled transaction).
15const write: WriteFn = async (abs, content) => {
16 await fs.mkdir(path.dirname(abs), { recursive: true });

Callers 1

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected