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

Function mkdir

packages/kaos/src/current.ts:86–91  ·  view source on GitHub ↗
(
  path: string,
  options?: { parents?: boolean; existOk?: boolean },
)

Source from the content-addressed store, hash-verified

84}
85
86export function mkdir(
87 path: string,
88 options?: { parents?: boolean; existOk?: boolean },
89): Promise<void> {
90 return getCurrentKaos().mkdir(path, options);
91}
92
93export function iterdir(path: string): AsyncGenerator<string> {
94 return getCurrentKaos().iterdir(path);

Callers 15

mkdirMethod · 0.70
detect.test.tsFile · 0.50
makeSessionFunction · 0.50
classify.test.tsFile · 0.50
skills.test.tsFile · 0.50
writeReportFunction · 0.50
appendSessionIndexEntryFunction · 0.50

Calls 2

getCurrentKaosFunction · 0.85
mkdirMethod · 0.65

Tested by 15

makeSessionFunction · 0.40
writeSkillFunction · 0.40
writeSkillFileFunction · 0.40
makePluginFunction · 0.40
makePluginFunction · 0.40
makeWorkspaceFunction · 0.40
writeSkillFunction · 0.40
makeSkillsRootFunction · 0.40
writeFlatOrSubdirSkillFunction · 0.40
writeSkillFunction · 0.40
writeSkillFileFunction · 0.40
writeFlatSkillFunction · 0.40