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

Method getFile

src/index.ts:1528–1530  ·  view source on GitHub ↗

* Get a file record by path

(filePath: string)

Source from the content-addressed store, hash-verified

1526 * Get a file record by path
1527 */
1528 getFile(filePath: string): FileRecord | null {
1529 return this.queries.getFileByPath(filePath);
1530 }
1531
1532 /**
1533 * Get all tracked files

Callers 2

extraction.test.tsFile · 0.80
foundation.test.tsFile · 0.80

Calls 1

getFileByPathMethod · 0.80

Tested by

no test coverage detected