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

Function makeSkillsRoot

packages/agent-core/test/skill/parser.test.ts:272–278  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

270});
271
272async function makeSkillsRoot(): Promise<string> {
273 const tmp = await mkdtemp(path.join(tmpdir(), 'kimi-skill-parser-'));
274 tempDirs.push(tmp);
275 const root = path.join(tmp, 'skills');
276 await mkdir(root, { recursive: true });
277 return root;
278}
279
280function userRoot(root: string): SkillRoot {
281 return { path: root, source: 'user' };

Callers 1

parser.test.tsFile · 0.85

Calls 3

mkdtempFunction · 0.85
mkdirFunction · 0.50
pushMethod · 0.45

Tested by

no test coverage detected