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

Method isCMemberTypeEdge

src/mcp/tools.ts:5002–5003  ·  view source on GitHub ↗
(edge: Edge)

Source from the content-addressed store, hash-verified

5000 // file budget away from the code on the flow.
5001 const isCFamily = (node: Node | undefined): boolean => node?.language === 'c' || node?.language === 'cpp' || node?.language === 'objc';
5002 const isCMemberTypeEdge = (edge: Edge): boolean =>
5003 edge.kind === 'references' && isTypeDeclaration(edge.source) && isCFamily(subgraph.nodes.get(edge.source));
5004 const connectedToEntry = new Set<string>();
5005 for (const edge of subgraph.edges) {
5006 if (edge.kind === 'references' && isTypeDeclaration(edge.source) && isTypeDeclaration(edge.target)) continue;

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
isCFamilyFunction · 0.50

Tested by

no test coverage detected