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

Method getFile

src/index.ts:3049–3051  ·  view source on GitHub ↗

* Get a file record by path

(filePath: string)

Source from the content-addressed store, hash-verified

3047 * Get a file record by path
3048 */
3049 getFile(filePath: string): FileRecord | null {
3050 return this.queries.getFileByPath(filePath);
3051 }
3052
3053 /**
3054 * Whether the index holds any file under `dir`, a project-relative POSIX

Callers

nothing calls this directly

Calls 1

getFileByPathMethod · 0.80

Tested by

no test coverage detected