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

Method stats

coderd/workspaceapps/apptest/apptest.go:2382–2386  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2380}
2381
2382func (r *fakeStatsReporter) stats() []workspaceapps.StatsReport {
2383 r.mu.Lock()
2384 defer r.mu.Unlock()
2385 return r.s
2386}
2387
2388func (r *fakeStatsReporter) ReportAppStats(_ context.Context, stats []workspaceapps.StatsReport) error {
2389 r.mu.Lock()

Callers 1

RunFunction · 0.95

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected