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

Method requestsSnapshot

coderd/x/chatd/chatd_test.go:101–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99}
100
101func (f *chatAIGatewayTestFactory) requestsSnapshot() []chatAIGatewayRecordedRequest {
102 f.mu.Lock()
103 defer f.mu.Unlock()
104 return slices.Clone(f.requests)
105}
106
107type chatAIGatewayRoundTripper struct {
108 factory *chatAIGatewayTestFactory

Calls 3

LockMethod · 0.45
UnlockMethod · 0.45
CloneMethod · 0.45

Tested by

no test coverage detected