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

Function fileRecord

__tests__/explore-same-basename-pin.test.ts:193–194  ·  view source on GitHub ↗
(report: ExploreDiagnosticReport, file: string)

Source from the content-addressed store, hash-verified

191}
192
193const fileRecord = (report: ExploreDiagnosticReport, file: string) =>
194 report.files.find((f) => f.path === file);
195
196/** The response renders a source section for `file`. */
197const hasSection = (response: string, file: string): boolean =>

Calls

no outgoing calls

Tested by

no test coverage detected