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

Method Push

db/change_cache.go:1005–1007  ·  view source on GitHub ↗
(x interface{})

Source from the content-addressed store, hash-verified

1003func (h LogPriorityQueue) Swap(i, j int) { h[i], h[j] = h[j], h[i] }
1004
1005func (h *LogPriorityQueue) Push(x interface{}) {
1006 *h = append(*h, x.(*LogEntry))
1007}
1008
1009func (h *LogPriorityQueue) Pop() interface{} {
1010 old := *h

Callers 3

_pushRangeToPendingMethod · 0.80
processEntryMethod · 0.80
TestAddPendingLogsFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestAddPendingLogsFunction · 0.64