MCPcopy
hub / github.com/redis/go-redis / IsReadOnly

Method IsReadOnly

internal/routing/policy.go:141–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139}
140
141func (p *CommandPolicy) IsReadOnly() bool {
142 _, readOnly := p.Tips[ReadOnlyCMD]
143 return readOnly
144}

Callers 1

executeDefaultMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected