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

Method getFile

src/index.ts:2018–2020  ·  view source on GitHub ↗

* Get a file record by path

(filePath: string)

Source from the content-addressed store, hash-verified

2016 * Get a file record by path
2017 */
2018 getFile(filePath: string): FileRecord | null {
2019 return this.queries.getFileByPath(filePath);
2020 }
2021
2022 /**
2023 * Whether the index holds any file under `dir`, a project-relative POSIX

Calls 1

getFileByPathMethod · 0.80

Tested by

no test coverage detected