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

Function makeTempDir

packages/node-sdk/test/local-logging.test.ts:35–39  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

33});
34
35async function makeTempDir(prefix: string): Promise<string> {
36 const dir = await mkdtemp(join(tmpdir(), prefix));
37 tempDirs.push(dir);
38 return dir;
39}
40
41async function readOptionalFile(path: string): Promise<string> {
42 try {

Callers 1

Calls 2

mkdtempFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected