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

Method RemoveBody

db/document.go:418–421  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

416}
417
418func (doc *Document) RemoveBody() {
419 doc._body = nil
420 doc._rawBody = nil
421}
422
423// HasBody returns true if the given document has either an unmarshalled body, or raw bytes available.
424func (doc *Document) HasBody() bool {

Callers 5

importDocMethod · 0.80
backupAncestorRevsMethod · 0.80
resolveDocMergeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected