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

Method GetTimings

agent/agenttest/client.go:266–270  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

264}
265
266func (f *FakeAgentAPI) GetTimings() []*agentproto.Timing {
267 f.Lock()
268 defer f.Unlock()
269 return slices.Clone(f.timings)
270}
271
272func (f *FakeAgentAPI) SetAnnouncementBannersFunc(fn func() ([]codersdk.BannerConfig, error)) {
273 f.Lock()

Callers 1

TestScriptReportsTimingFunction · 0.95

Calls 3

LockMethod · 0.45
UnlockMethod · 0.45
CloneMethod · 0.45

Tested by 1

TestScriptReportsTimingFunction · 0.76