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

Method fileExists

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

Check if a file exists

(filePath: string)

Source from the content-addressed store, hash-verified

127 iterateNodesByKind?(kind: Node['kind']): IterableIterator<Node>;
128 /** Check if a file exists */
129 fileExists(filePath: string): boolean;
130 /** Read file content */
131 readFile(filePath: string): string | null;
132 /** Record a project-relative file resolution read its answer from, for sync to watch (see `getModuleConfigSnapshot`). */

Callers 15

buildPythonModuleIndexFunction · 0.80
resolveRelativeImportFunction · 0.80
tryWithExtensionsFunction · 0.80
indexedFunction · 0.80
resolveFromOwnConfigFunction · 0.80
searchCppIncludeDirsFunction · 0.80
resolvePhpIncludePathFunction · 0.80
inferredPhpWebRootsMethod · 0.80
packageDirOfFunction · 0.80
crateRootFunction · 0.80
resolveIncludeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected