Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atripati/ark
/ PatternCount
Method
PatternCount
pkg/store/store.go:247–251 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
245
return
len(s.data.ToolStats)
246
}
247
func
(s *JSONFileStore) PatternCount() int {
248
s.mu.RLock()
249
defer
s.mu.RUnlock()
250
return
len(s.data.QueryPatterns)
251
}
252
253
func
(s *JSONFileStore) Decay() int {
254
s.mu.Lock()
Callers
1
runAgent
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected