Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/couchbase/sync_gateway
/ GetCount
Method
GetCount
db/event_manager_test.go:312–317 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
310
}
311
312
func
(wr *WebhookRequest) GetCount() int {
313
wr.mutex.Lock()
314
count := wr.count
315
wr.mutex.Unlock()
316
return
count
317
}
318
319
func
(wr *WebhookRequest) IncrementCount() int {
320
wr.mutex.Lock()
Callers
2
TestWebhookOldDoc
Function · 0.80
TestUnavailableWebhook
Function · 0.80
Calls
2
Lock
Method · 0.45
Unlock
Method · 0.45
Tested by
no test coverage detected