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

Function isMissingFileError

packages/agent-core/src/agent/plan/index.ts:142–146  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

140}
141
142function isMissingFileError(error: unknown): boolean {
143 if (error === null || typeof error !== 'object') return false;
144 const code = (error as { readonly code?: unknown }).code;
145 return code === 'ENOENT';
146}

Callers 1

dataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected