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

Method ExtractRev

db/revision.go:225–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

223}
224
225func (body Body) ExtractRev() string {
226 revid, _ := body[BodyRev].(string)
227 delete(body, BodyRev)
228 return revid
229}
230
231// Looks up the _exp property in the document, and turns it into a Couchbase Server expiry value, as:
232func (body Body) getExpiry() (uint32, bool, error) {

Callers 6

WaitForVersionMethod · 0.95
resolveDocRemoteWinsMethod · 0.80

Calls

no outgoing calls