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

Method SafeSequence

db/sequence_id.go:168–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166}
167
168func (s SequenceID) SafeSequence() uint64 {
169 if s.LowSeq > 0 {
170 return s.LowSeq
171 } else {
172 return s.Seq
173 }
174}
175
176func (s SequenceID) IsNonZero() bool {
177 return s.Seq > 0

Callers 8

EqualsMethod · 0.95
BeforeMethod · 0.95
StartPushWithOptsMethod · 0.80
GetCachedChangesMethod · 0.80
GetChangesMethod · 0.80
GetChangesMethod · 0.80
changesFeedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected