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

Method SetRevAndVersion

channels/log_entry.go:93–99  ·  view source on GitHub ↗
(rv RevAndVersion)

Source from the content-addressed store, hash-verified

91}
92
93func (entry *LogEntry) SetRevAndVersion(rv RevAndVersion) {
94 entry.RevID = rv.RevTreeID
95 if rv.CurrentSource != "" {
96 entry.SourceID = rv.CurrentSource
97 entry.Version = base.HexCasToUint64(rv.CurrentVersion)
98 }
99}
100
101type ChannelMap map[string]*ChannelRemoval
102type ChannelRemoval struct {

Callers 2

nextChannelViewEntryFunction · 0.95
nextChannelQueryEntryFunction · 0.95

Calls 1

HexCasToUint64Function · 0.92

Tested by

no test coverage detected