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

Method SetRevTreeID

db/document.go:123–125  ·  view source on GitHub ↗
(revTreeID string)

Source from the content-addressed store, hash-verified

121}
122
123func (sd *SyncData) SetRevTreeID(revTreeID string) {
124 sd.RevAndVersion.RevTreeID = revTreeID
125}
126
127// GetRevTreeID returns the RevTreeID if available, otherwise returns an empty string.
128func (sd *SyncData) GetRevTreeID() string {

Callers 6

GetDocumentMethod · 0.80
TestRevAndVersionFunction · 0.80
TestAlignRevTreeHistoryFunction · 0.80
TestRevTreeConflictCheckFunction · 0.80

Calls

no outgoing calls

Tested by 4

GetDocumentMethod · 0.64
TestRevAndVersionFunction · 0.64
TestAlignRevTreeHistoryFunction · 0.64
TestRevTreeConflictCheckFunction · 0.64