MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / IsReadOnly

Method IsReadOnly

IceFireDB-Redis-Proxy/pkg/router/mapper.go:44–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44func (f OpFlag) IsReadOnly() bool {
45 const mask = FlagWrite | FlagMayWrite
46 return (f & mask) == 0
47}
48
49func (f OpFlag) IsMasterOnly() bool {
50 const mask = FlagWrite | FlagMayWrite | FlagMasterOnly

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected