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

Method Less

db/change_cache.go:1002–1002  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

1000
1001func (h LogPriorityQueue) Len() int { return len(h) }
1002func (h LogPriorityQueue) Less(i, j int) bool { return h[i].Sequence < h[j].Sequence }
1003func (h LogPriorityQueue) Swap(i, j int) { h[i], h[j] = h[j], h[i] }
1004
1005func (h *LogPriorityQueue) Push(x interface{}) {

Calls

no outgoing calls