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

Method getFanIn

src/index.ts:1557–1559  ·  view source on GitHub ↗

* Fan-in (incoming edge count) for many nodes at once — the "hub" signal, * without a query per node. See QueryBuilder.countIncomingEdges.

(ids: readonly string[])

Source from the content-addressed store, hash-verified

1555 * without a query per node. See {@link QueryBuilder.countIncomingEdges}.
1556 */
1557 getFanIn(ids: readonly string[]): Map<string, number> {
1558 return this.queries.countIncomingEdges(ids);
1559 }
1560
1561 /**
1562 * Incoming edges for many target nodes at once — the mirror of

Callers 4

buildNodeFunction · 0.80
buildMembersFunction · 0.80
buildOutlineEntriesFunction · 0.80
buildStepsFunction · 0.80

Calls 1

countIncomingEdgesMethod · 0.80

Tested by

no test coverage detected