Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgraph-io/dgraph
/ Current
Method
Current
xidmap/xidmap.go:287–291 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
285
}
286
287
func
(sh *shard) Current() uint64 {
288
sh.RLock()
289
defer
sh.RUnlock()
290
return
sh.start
291
}
292
293
func
(m *XidMap) updateMaxSeen(max uint64) {
294
for
{
Callers
1
initService
Function · 0.45
Calls
2
RLock
Method · 0.80
RUnlock
Method · 0.80
Tested by
no test coverage detected