Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
158
function
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
useActivityQuery
Function · 0.85
Calls
1
get
Method · 0.65
Tested by
no test coverage detected