Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CodisLabs/codis
/ IsReadOnly
Method
IsReadOnly
pkg/proxy/mapper.go:35–38 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
33
}
34
35
func
(f OpFlag) IsReadOnly() bool {
36
const
mask = FlagWrite | FlagMayWrite
37
return
(f & mask) == 0
38
}
39
40
func
(f OpFlag) IsMasterOnly() bool {
41
const
mask = FlagWrite | FlagMayWrite | FlagMasterOnly
Callers
1
loopWriter
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected