Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/couchbase/sync_gateway
/ GetSize
Method
GetSize
db/channel_cache_single.go:674–678 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
672
}
673
674
func
(c *singleChannelCacheImpl) GetSize() int {
675
c.lock.RLock()
676
defer
c.lock.RUnlock()
677
return
len(c.logs)
678
}
679
680
type
lateLogEntry
struct
{
681
logEntry *LogEntry
Callers
1
MaxCacheSize
Method · 0.80
Calls
2
RLock
Method · 0.80
RUnlock
Method · 0.80
Tested by
no test coverage detected