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

Method getFile

src/index.ts:1529–1531  ·  view source on GitHub ↗

* Get a file record by path

(filePath: string)

Source from the content-addressed store, hash-verified

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

Callers 3

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

Calls 1

getFileByPathMethod · 0.80

Tested by

no test coverage detected