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

Function isDir

packages/agent-core/src/plugin/manifest.ts:484–490  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

482}
483
484async function isDir(p: string): Promise<boolean> {
485 try {
486 return (await stat(p)).isDirectory();
487 } catch {
488 return false;
489 }
490}

Callers 5

resolveSkillsFieldFunction · 0.85
readCommandsFunction · 0.85
walkSkillDirFunction · 0.85
pushExistingRootFunction · 0.85
pushProvidedRootFunction · 0.85

Calls 1

statFunction · 0.50

Tested by

no test coverage detected