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

Function tempHome

packages/telemetry/test/telemetry.test.ts:39–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37});
38
39async function tempHome(): Promise<string> {
40 const dir = await mkdtemp(join(tmpdir(), 'kimi-telemetry-'));
41 tempDirs.push(dir);
42 return dir;
43}
44
45class RecordingTransport implements TelemetryTransport {
46 readonly sent: EnrichedTelemetryEvent[][] = [];

Callers 2

telemetry.test.tsFile · 0.70
runTelemetryCrashScriptFunction · 0.70

Calls 2

mkdtempFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected