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

Function count

telemetry-dashboard/src/api.ts:281–281  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

279 else if (state.key === 'last_run') {
280 const run = JSON.parse(state.value) as Record<string, unknown>;
281 const count = (key: string): number => (typeof run[key] === 'number' ? (run[key] as number) : 0);
282 const left = {
283 days: count('days_left'),
284 windows: count('windows_left'),

Callers 1

metaFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected