MCPcopy Create free account
hub / github.com/crowdsecurity/crowdsec / SourceLongitudeCleared

Method SourceLongitudeCleared

pkg/database/ent/mutation.go:948–951  ·  view source on GitHub ↗

SourceLongitudeCleared returns if the "sourceLongitude" field was cleared in this mutation.

()

Source from the content-addressed store, hash-verified

946
947// SourceLongitudeCleared returns if the "sourceLongitude" field was cleared in this mutation.
948func (m *AlertMutation) SourceLongitudeCleared() bool {
949 _, ok := m.clearedFields[alert.FieldSourceLongitude]
950 return ok
951}
952
953// ResetSourceLongitude resets all changes to the "sourceLongitude" field.
954func (m *AlertMutation) ResetSourceLongitude() {

Callers 2

sqlSaveMethod · 0.80
sqlSaveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected