MCPcopy Index your code
hub / github.com/bytebase/bytebase / getRequests

Method getRequests

backend/tests/webhook_test.go:56–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54}
55
56func (c *webhookCollector) getRequests() []webhookRequest {
57 c.mu.Lock()
58 defer c.mu.Unlock()
59 return append([]webhookRequest{}, c.requests...)
60}
61
62func (c *webhookCollector) reset() {
63 c.mu.Lock()

Callers 2

TestWebhookIntegrationFunction · 0.95
countWebhooksForFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected