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

Function countKey

src/telemetry/index.ts:126–126  ·  view source on GitHub ↗
(l: CountLine)

Source from the content-addressed store, hash-verified

124type BufferLine = CountLine | EventLine;
125
126const countKey = (l: CountLine): string => [l.d, l.k, l.n, l.cn ?? '', l.cv ?? ''].join('\u0000');
127
128/**
129 * One count line per (day, kind, name, client), calls and errors summed; lifecycle

Callers 2

coalesceLinesFunction · 0.85
recordUsageMethod · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected