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

Method isCMemberTypeEdge

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

Source from the content-addressed store, hash-verified

4944 // file budget away from the code on the flow.
4945 const isCFamily = (node: Node | undefined): boolean => node?.language === 'c' || node?.language === 'cpp' || node?.language === 'objc';
4946 const isCMemberTypeEdge = (edge: Edge): boolean =>
4947 edge.kind === 'references' && isTypeDeclaration(edge.source) && isCFamily(subgraph.nodes.get(edge.source));
4948 const connectedToEntry = new Set<string>();
4949 for (const edge of subgraph.edges) {
4950 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