MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / Pop

Method Pop

db/change_cache.go:1009–1015  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1007}
1008
1009func (h *LogPriorityQueue) Pop() interface{} {
1010 old := *h
1011 n := len(old)
1012 x := old[n-1]
1013 *h = old[0 : n-1]
1014 return x
1015}
1016
1017// ////// SKIPPED SEQUENCE QUEUE
1018

Callers 3

_popPendingLogMethod · 0.80
AssertPendingLogsFunction · 0.80
pendingLogsAsStringFunction · 0.80

Calls

no outgoing calls

Tested by 2

AssertPendingLogsFunction · 0.64
pendingLogsAsStringFunction · 0.64