MCPcopy Index your code
hub / github.com/crowdsecurity/crowdsec / IPAddressCleared

Method IPAddressCleared

pkg/database/ent/mutation.go:4819–4822  ·  view source on GitHub ↗

IPAddressCleared returns if the "ip_address" field was cleared in this mutation.

()

Source from the content-addressed store, hash-verified

4817
4818// IPAddressCleared returns if the "ip_address" field was cleared in this mutation.
4819func (m *BouncerMutation) IPAddressCleared() bool {
4820 _, ok := m.clearedFields[bouncer.FieldIPAddress]
4821 return ok
4822}
4823
4824// ResetIPAddress resets all changes to the "ip_address" field.
4825func (m *BouncerMutation) ResetIPAddress() {

Callers 2

sqlSaveMethod · 0.80
sqlSaveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected