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

Method GetRevTreeID

db/document.go:128–133  ·  view source on GitHub ↗

GetRevTreeID returns the RevTreeID if available, otherwise returns an empty string.

()

Source from the content-addressed store, hash-verified

126
127// GetRevTreeID returns the RevTreeID if available, otherwise returns an empty string.
128func (sd *SyncData) GetRevTreeID() string {
129 if sd == nil {
130 return ""
131 }
132 return sd.RevAndVersion.RevTreeID
133}
134
135// CV returns the CurrentVersion if available, otherwise returns an empty string.
136func (sd *SyncData) CV() string {

Calls

no outgoing calls