Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
757
func
(doc *Document) hasFlag(flag uint8) bool {
758
return
doc.Flags&flag != 0
759
}
760
761
func
(doc *Document) setFlag(flag uint8, state bool) {
762
if
state {
Callers
7
IsDeleted
Method · 0.95
updateChannels
Method · 0.95
updateWinningRevAndSetDocFlags
Method · 0.95
migrateMetadata
Method · 0.80
Put
Method · 0.80
updateAndReturnDoc
Method · 0.80
CreateDocNoHLV
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected