Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ errors
Method
errors
coderd/workspaceapps/stats_test.go:34–38 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
32
}
33
34
func
(r *fakeReporter) errors() int {
35
r.mu.Lock()
36
defer
r.mu.Unlock()
37
return
r.errN
38
}
39
40
func
(r *fakeReporter) setError(err error) {
41
r.mu.Lock()
Callers
1
TestStatsCollector_backlog
Function · 0.95
Calls
2
Lock
Method · 0.45
Unlock
Method · 0.45
Tested by
no test coverage detected