MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / makeTempDir

Function makeTempDir

packages/node-sdk/test/list-sessions.test.ts:27–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25});
26
27async function makeTempDir(): Promise<string> {
28 const dir = await mkdtemp(join(tmpdir(), 'kimi-sdk-list-'));
29 tempDirs.push(dir);
30 return dir;
31}
32
33async function writeSessionState(
34 sessionDir: string,

Callers 1

Calls 2

mkdtempFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected