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

Function tmpPaths

packages/server/test/host-exposure.e2e.test.ts:34–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32let prevPassword: string | undefined;
33
34function tmpPaths(): { lockPath: string; homeDir: string } {
35 const dir = mkdtempSync(join(tmpdir(), 'kimi-host-exposure-'));
36 const home = mkdtempSync(join(tmpdir(), 'kimi-host-exposure-home-'));
37 createdDirs.push(dir, home);
38 return { lockPath: join(dir, 'lock'), homeDir: home };
39}
40
41function capturingLogger(): { logger: Logger; lines: string[] } {
42 const lines: string[] = [];

Callers 4

bootExposureFunction · 0.70
bootPublicRealFunction · 0.70
bootPublicFixedFunction · 0.70

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected