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

Function has

__tests__/java-records.test.ts:62–63  ·  view source on GitHub ↗
(kind: string, src: string, tgt: string)

Source from the content-addressed store, hash-verified

60 .all();
61 cg.close?.();
62 const has = (kind: string, src: string, tgt: string) =>
63 edges.some((e) => e.kind === kind && e.src === src && e.tgt === tgt);
64 const node = (qn: string, kind: string) => nodes.filter((n) => n.qualified_name === qn && n.kind === kind);
65 return { nodes, edges, has, node };
66 };

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected