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

Method SourceAsNumberCleared

pkg/database/ent/mutation.go:711–714  ·  view source on GitHub ↗

SourceAsNumberCleared returns if the "sourceAsNumber" field was cleared in this mutation.

()

Source from the content-addressed store, hash-verified

709
710// SourceAsNumberCleared returns if the "sourceAsNumber" field was cleared in this mutation.
711func (m *AlertMutation) SourceAsNumberCleared() bool {
712 _, ok := m.clearedFields[alert.FieldSourceAsNumber]
713 return ok
714}
715
716// ResetSourceAsNumber resets all changes to the "sourceAsNumber" field.
717func (m *AlertMutation) ResetSourceAsNumber() {

Callers 2

sqlSaveMethod · 0.80
sqlSaveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected