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

Function makeTempDir

packages/node-sdk/test/export-session.test.ts:35–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33});
34
35async function makeTempDir(): Promise<string> {
36 const dir = await mkdtemp(join(tmpdir(), 'kimi-sdk-export-'));
37 tempDirs.push(dir);
38 return dir;
39}
40
41function readZipEntries(buf: Buffer): Map<string, Buffer> {
42 let eocd = -1;

Callers 1

Calls 2

mkdtempFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected