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

Method getFile

src/index.ts:3022–3024  ·  view source on GitHub ↗

* Get a file record by path

(filePath: string)

Source from the content-addressed store, hash-verified

3020 * Get a file record by path
3021 */
3022 getFile(filePath: string): FileRecord | null {
3023 return this.queries.getFileByPath(filePath);
3024 }
3025
3026 /**
3027 * 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