MCPcopy 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
287func (sh *shard) Current() uint64 {
288 sh.RLock()
289 defer sh.RUnlock()
290 return sh.start
291}
292
293func (m *XidMap) updateMaxSeen(max uint64) {
294 for {

Callers 1

initServiceFunction · 0.45

Calls 2

RLockMethod · 0.80
RUnlockMethod · 0.80

Tested by

no test coverage detected