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

Method SourceRangeCleared

pkg/database/ent/mutation.go:662–665  ·  view source on GitHub ↗

SourceRangeCleared returns if the "sourceRange" field was cleared in this mutation.

()

Source from the content-addressed store, hash-verified

660
661// SourceRangeCleared returns if the "sourceRange" field was cleared in this mutation.
662func (m *AlertMutation) SourceRangeCleared() bool {
663 _, ok := m.clearedFields[alert.FieldSourceRange]
664 return ok
665}
666
667// ResetSourceRange resets all changes to the "sourceRange" field.
668func (m *AlertMutation) ResetSourceRange() {

Callers 2

sqlSaveMethod · 0.80
sqlSaveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected