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

Method hasFlag

db/document.go:757–759  ·  view source on GitHub ↗
(flag uint8)

Source from the content-addressed store, hash-verified

755}
756
757func (doc *Document) hasFlag(flag uint8) bool {
758 return doc.Flags&flag != 0
759}
760
761func (doc *Document) setFlag(flag uint8, state bool) {
762 if state {

Callers 7

IsDeletedMethod · 0.95
updateChannelsMethod · 0.95
migrateMetadataMethod · 0.80
PutMethod · 0.80
updateAndReturnDocMethod · 0.80
CreateDocNoHLVMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected