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

Method MessageCleared

pkg/database/ent/mutation.go:396–399  ·  view source on GitHub ↗

MessageCleared returns if the "message" field was cleared in this mutation.

()

Source from the content-addressed store, hash-verified

394
395// MessageCleared returns if the "message" field was cleared in this mutation.
396func (m *AlertMutation) MessageCleared() bool {
397 _, ok := m.clearedFields[alert.FieldMessage]
398 return ok
399}
400
401// ResetMessage resets all changes to the "message" field.
402func (m *AlertMutation) ResetMessage() {

Callers 2

sqlSaveMethod · 0.80
sqlSaveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected