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

Function defaultIsDir

packages/agent-core/src/skill/scanner.ts:436–442  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

434}
435
436async function defaultIsDir(p: string): Promise<boolean> {
437 try {
438 return (await fs.stat(p)).isDirectory();
439 } catch {
440 return false;
441 }
442}
443
444async function defaultIsFile(p: string): Promise<boolean> {
445 try {

Callers

nothing calls this directly

Calls 1

statMethod · 0.65

Tested by

no test coverage detected