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

Method getFile

src/index.ts:1598–1600  ·  view source on GitHub ↗

* Get a file record by path

(filePath: string)

Source from the content-addressed store, hash-verified

1596 * Get a file record by path
1597 */
1598 getFile(filePath: string): FileRecord | null {
1599 return this.queries.getFileByPath(filePath);
1600 }
1601
1602 /**
1603 * Get all tracked files

Calls 1

getFileByPathMethod · 0.80

Tested by

no test coverage detected