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

Function isFileExistsError

packages/agent-core/src/config/toml.ts:737–743  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

735}
736
737function isFileExistsError(error: unknown): boolean {
738 return (
739 typeof error === 'object' &&
740 error !== null &&
741 (error as { code?: unknown }).code === 'EEXIST'
742 );
743}

Callers 1

ensureConfigFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected