MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / isCommandFile

Function isCommandFile

packages/codex-native-api/src/default_provider.ts:589–596  ·  view source on GitHub ↗
(candidate: string)

Source from the content-addressed store, hash-verified

587}
588
589function isCommandFile(candidate: string): boolean {
590 try {
591 const stat = fs.statSync(candidate);
592 return stat.isFile();
593 } catch {
594 return false;
595 }
596}

Callers 2

resolveCommandFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected