Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/CodisLabs/codis
/ IsMasterOnly
Method
IsMasterOnly
pkg/proxy/mapper.go:40–43 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
38
}
39
40
func
(f OpFlag) IsMasterOnly() bool {
41
const
mask = FlagWrite | FlagMayWrite | FlagMasterOnly
42
return
(f & mask) != 0
43
}
44
45
type
OpInfo
struct
{
46
Name string
Callers
1
forward2
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected