Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xUnixIO/pulse
/ callCount
Method
callCount
internal/nodeagent/usage_test.go:32–36 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
30
}
31
32
func
(m *mockUsageAPI) callCount() int {
33
m.mu.Lock()
34
defer
m.mu.Unlock()
35
return
len(m.calls)
36
}
37
38
func
(m *mockUsageAPI) resetCount() int {
39
m.mu.Lock()
Callers
1
TestUsagePusher_NoSenderSkips
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected