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

Function has

__tests__/resolution.test.ts:4263–4264  ·  view source on GitHub ↗
(from: string, to: string)

Source from the content-addressed store, hash-verified

4261 .all() as Array<{ fromName: string; toName: string }>;
4262 db.close();
4263 const has = (from: string, to: string) =>
4264 edges.some((r) => r.fromName === from && r.toName === to);
4265
4266 // Every templated base now resolves to the bare template node.
4267 expect(has('Widget', 'Base'), 'Widget : Base<int>').toBe(true);

Callers 1

resolution.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected