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

Method ExtractDeleted

db/revision.go:219–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

217}
218
219func (body Body) ExtractDeleted() bool {
220 deleted, _ := body[BodyDeleted].(bool)
221 delete(body, BodyDeleted)
222 return deleted
223}
224
225func (body Body) ExtractRev() string {
226 revid, _ := body[BodyRev].(string)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected