MCPcopy Index your code
hub / github.com/colbymchenry/codegraph / fileExists

Method fileExists

src/resolution/types.ts:75–75  ·  view source on GitHub ↗

Check if a file exists

(filePath: string)

Source from the content-addressed store, hash-verified

73 getNodesByKind(kind: Node['kind']): Node[];
74 /** Check if a file exists */
75 fileExists(filePath: string): boolean;
76 /** Read file content */
77 readFile(filePath: string): string | null;
78 /** Get project root */

Callers 15

resolveRelativeImportFunction · 0.80
tryWithExtFunction · 0.80
resolveCppIncludePathFunction · 0.80
resolvePhpIncludePathFunction · 0.80
rustCrateRootDirFunction · 0.80
resolveUnderFunction · 0.80
inferCppReceiverTypeFunction · 0.80
resolveIncludeFunction · 0.80
detectFunction · 0.80
detectFunction · 0.80
resolveModuleFunction · 0.80
detectFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected