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

Method population

src/db/queries.ts:4945–4946  ·  view source on GitHub ↗
(lookup: number, key: string, count: number)

Source from the content-addressed store, hash-verified

4943 // the references still under it are not retried more for it.
4944 const [byTail, , byMember] = counts;
4945 const population = (lookup: number, key: string, count: number): number =>
4946 lookup === 1 ? count : (byTail!.get(key) ?? 0) + (byMember!.get(key) ?? 0);
4947
4948 const rows = new Map<number, UnresolvedRefRow>();
4949 for (const [lookup, { column, where }] of lookups.entries()) {

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected