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

Function makeTempDir

packages/node-sdk/test/create-session-transport.test.ts:30–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28});
29
30async function makeTempDir(): Promise<string> {
31 const dir = await mkdtemp(join(tmpdir(), 'kimi-sdk-create-'));
32 tempDirs.push(dir);
33 return dir;
34}
35
36async function writeTestModelConfig(homeDir: string, modelName = 'kimi-test-model'): Promise<void> {
37 await writeFile(

Calls 2

mkdtempFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected