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

Method getFile

src/index.ts:2944–2946  ·  view source on GitHub ↗

* Get a file record by path

(filePath: string)

Source from the content-addressed store, hash-verified

2942 * Get a file record by path
2943 */
2944 getFile(filePath: string): FileRecord | null {
2945 return this.queries.getFileByPath(filePath);
2946 }
2947
2948 /**
2949 * Whether the index holds any file under `dir`, a project-relative POSIX

Calls 1

getFileByPathMethod · 0.80

Tested by 1

errorsOfFunction · 0.64