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

Function reader

__tests__/rust-test-file-names.test.ts:16–16  ·  view source on GitHub ↗
(files: Record<string, string>)

Source from the content-addressed store, hash-verified

14import { inCfgTestFile } from '../src/graph/test-code';
15
16const reader = (files: Record<string, string>) => (p: string): string | undefined => files[p];
17
18describe('inCfgTestFile on file names that are no identifier', () => {
19 it('answers false for them instead of throwing', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected