MCPcopy
hub / github.com/crowdsecurity/crowdsec / DescriptionCleared

Method DescriptionCleared

pkg/database/ent/mutation.go:2833–2836  ·  view source on GitHub ↗

DescriptionCleared returns if the "description" field was cleared in this mutation.

()

Source from the content-addressed store, hash-verified

2831
2832// DescriptionCleared returns if the "description" field was cleared in this mutation.
2833func (m *AllowListMutation) DescriptionCleared() bool {
2834 _, ok := m.clearedFields[allowlist.FieldDescription]
2835 return ok
2836}
2837
2838// ResetDescription resets all changes to the "description" field.
2839func (m *AllowListMutation) ResetDescription() {

Callers 2

sqlSaveMethod · 0.80
sqlSaveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected