MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / getRefCount

Function getRefCount

cli/src/hooks/use-activity-query.ts:158–160  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

156}
157
158function getRefCount(key: string): number {
159 return cache.refCounts.get(key) ?? 0
160}
161
162/**
163 * Serialize a query key to a string for cache lookup.

Callers 1

useActivityQueryFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected