MCPcopy Index your code
hub / github.com/coder/coder / stats

Method stats

coderd/workspaceapps/stats_test.go:28–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28func (r *fakeReporter) stats() []workspaceapps.StatsReport {
29 r.mu.Lock()
30 defer r.mu.Unlock()
31 return r.s
32}
33
34func (r *fakeReporter) errors() int {
35 r.mu.Lock()

Callers 3

TestStatsCollectorFunction · 0.95
TestStatsCollector_CloseFunction · 0.95

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected