MCPcopy
hub / github.com/codeaashu/claude-code / set

Function set

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

Source from the content-addressed store, hash-verified

34 metrics.set(name, (metrics.get(name) ?? 0) + value);
35 },
36 set(name: string, value: number) {
37 metrics.set(name, value);
38 },
39 observe(name: string, value: number) {
40 let h = histograms.get(name);
41 if (!h) {

Callers 6

useSetPromptOverlayFunction · 0.85
_temp3Function · 0.85
store.tsFile · 0.85
notifications.tsFile · 0.85
fileViewerStore.tsFile · 0.85

Calls 1

setMethod · 0.45

Tested by

no test coverage detected