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

Function add

src/context/stats.tsx:69–76  ·  view source on GitHub ↗
(name: string, value: string)

Source from the content-addressed store, hash-verified

67 }
68 },
69 add(name: string, value: string) {
70 let s = sets.get(name);
71 if (!s) {
72 s = new Set();
73 sets.set(name, s);
74 }
75 s.add(value);
76 },
77 getAll() {
78 const result: Record<string, number> = Object.fromEntries(metrics);
79 for (const [name, h] of histograms) {

Callers

nothing calls this directly

Calls 3

getMethod · 0.65
setMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected