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

Method SetCV

db/document.go:165–168  ·  view source on GitHub ↗
(hlv *HybridLogicalVector)

Source from the content-addressed store, hash-verified

163}
164
165func (sd *SyncData) SetCV(hlv *HybridLogicalVector) {
166 sd.RevAndVersion.CurrentSource = hlv.SourceID
167 sd.RevAndVersion.CurrentVersion = string(base.Uint64CASToLittleEndianHex(hlv.Version))
168}
169
170// RedactRawGlobalSyncData runs HashRedact on the given global sync data.
171func RedactRawGlobalSyncData(syncData []byte, redactSalt string) ([]byte, error) {

Callers 3

MarshalWithXattrsMethod · 0.80
updateHLVMethod · 0.80
postWriteUpdateHLVMethod · 0.80

Calls 1

Tested by

no test coverage detected