MCPcopy
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
35func (f OpFlag) IsReadOnly() bool {
36 const mask = FlagWrite | FlagMayWrite
37 return (f & mask) == 0
38}
39
40func (f OpFlag) IsMasterOnly() bool {
41 const mask = FlagWrite | FlagMayWrite | FlagMasterOnly

Callers 1

loopWriterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected