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

Function isFile

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

Source from the content-addressed store, hash-verified

474}
475
476async function isFile(p: string): Promise<boolean> {
477 try {
478 return (await stat(p)).isFile();
479 } catch {
480 return false;
481 }
482}
483
484async function isDir(p: string): Promise<boolean> {
485 try {

Callers 2

parseManifestFunction · 0.70
readCommandsFunction · 0.70

Calls 1

statFunction · 0.50

Tested by

no test coverage detected