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

Function makeTempHome

apps/kimi-code/test/tui/kimi-tui-message-flow.test.ts:358–362  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

356const originalEditor = process.env['EDITOR'];
357
358async function makeTempHome(): Promise<string> {
359 const dir = await mkdtemp(join(tmpdir(), 'kimi-code-tui-'));
360 tempDirs.push(dir);
361 return dir;
362}
363
364async function makeExportedSessionZip(content = 'session zip'): Promise<string> {
365 const dir = await mkdtemp(join(tmpdir(), 'kimi-code-feedback-export-'));

Callers 1

Calls 2

mkdtempFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected