MCPcopy Create free account
hub / github.com/codeaashu/claude-code / increment

Function increment

src/context/stats.tsx:33–35  ·  view source on GitHub ↗
(name: string, value = 1)

Source from the content-addressed store, hash-verified

31 const sets = new Map<string, Set<string>>();
32 return {
33 increment(name: string, value = 1) {
34 metrics.set(name, (metrics.get(name) ?? 0) + value);
35 },
36 set(name: string, value: number) {
37 metrics.set(name, value);
38 },

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected