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

Method getFile

src/index.ts:3039–3041  ·  view source on GitHub ↗

* Get a file record by path

(filePath: string)

Source from the content-addressed store, hash-verified

3037 * Get a file record by path
3038 */
3039 getFile(filePath: string): FileRecord | null {
3040 return this.queries.getFileByPath(filePath);
3041 }
3042
3043 /**
3044 * 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