MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / fileExists

Method fileExists

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

Check if a file exists

(filePath: string)

Source from the content-addressed store, hash-verified

85 iterateNodesByKind?(kind: Node['kind']): IterableIterator<Node>;
86 /** Check if a file exists */
87 fileExists(filePath: string): boolean;
88 /** Read file content */
89 readFile(filePath: string): string | null;
90 /**

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