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

Method _adjustFirstSeq

db/channel_cache_single.go:461–465  ·  view source on GitHub ↗

LOGENTRIES:

(change *LogEntry)

Source from the content-addressed store, hash-verified

459// ////// LOGENTRIES:
460
461func (c *singleChannelCacheImpl) _adjustFirstSeq(change *LogEntry) {
462 if change.Sequence < c.validFrom {
463 c.validFrom = change.Sequence
464 }
465}
466
467// Adds an entry to the end of an array of LogEntries.
468// Any existing entry with the same DocID is removed.

Callers 1

_appendChangeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected