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

Method population

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

Source from the content-addressed store, hash-verified

5054 // the references still under it are not retried more for it.
5055 const [byTail, , byMember] = counts;
5056 const population = (lookup: number, key: string, count: number): number =>
5057 lookup === 1 ? count : (byTail!.get(key) ?? 0) + (byMember!.get(key) ?? 0);
5058
5059 const rows = new Map<number, UnresolvedRefRow>();
5060 for (const [lookup, { column, where }] of lookups.entries()) {

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected