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

Method getFile

src/index.ts:3014–3016  ·  view source on GitHub ↗

* Get a file record by path

(filePath: string)

Source from the content-addressed store, hash-verified

3012 * Get a file record by path
3013 */
3014 getFile(filePath: string): FileRecord | null {
3015 return this.queries.getFileByPath(filePath);
3016 }
3017
3018 /**
3019 * 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