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

Function has

__tests__/c-fnptr-synthesizer.test.ts:50–50  ·  view source on GitHub ↗
(edges: any[], src: string, tgt: string)

Source from the content-addressed store, hash-verified

48 return edges;
49 };
50 const has = (edges: any[], src: string, tgt: string) => edges.some((e) => e.src === src && e.tgt === tgt);
51
52 it('bridges a {name, fn} command table dispatched through p->fn() (the git shape)', async () => {
53 write('cmd.c', `

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected