MCPcopy
hub / github.com/colbymchenry/codegraph / find

Function find

__tests__/adaptive-explore-sizing.test.ts:265–266  ·  view source on GitHub ↗
(name: string, kind: string)

Source from the content-addressed store, hash-verified

263
264 it('fixture sanity: Interceptor has >=3 implementers, Formatter has <3', () => {
265 const find = (name: string, kind: string) =>
266 cg.searchNodes(name).map((r) => r.node).find((n) => n.name === name && n.kind === kind);
267
268 const interceptor = find('Interceptor', 'interface');
269 const formatter = find('Formatter', 'interface');

Callers 1

Calls 1

searchNodesMethod · 0.45

Tested by

no test coverage detected