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

Method UUIDCleared

pkg/database/ent/mutation.go:1349–1352  ·  view source on GitHub ↗

UUIDCleared returns if the "uuid" field was cleared in this mutation.

()

Source from the content-addressed store, hash-verified

1347
1348// UUIDCleared returns if the "uuid" field was cleared in this mutation.
1349func (m *AlertMutation) UUIDCleared() bool {
1350 _, ok := m.clearedFields[alert.FieldUUID]
1351 return ok
1352}
1353
1354// ResetUUID resets all changes to the "uuid" field.
1355func (m *AlertMutation) ResetUUID() {

Callers 4

sqlSaveMethod · 0.45
sqlSaveMethod · 0.45
sqlSaveMethod · 0.45
sqlSaveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected