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

Method SetDescription

pkg/database/ent/mutation.go:2796–2798  ·  view source on GitHub ↗

SetDescription sets the "description" field.

(s string)

Source from the content-addressed store, hash-verified

2794
2795// SetDescription sets the "description" field.
2796func (m *AllowListMutation) SetDescription(s string) {
2797 m.description = &s
2798}
2799
2800// Description returns the value of the "description" field in the mutation.
2801func (m *AllowListMutation) Description() (r string, exists bool) {

Callers 3

SetFieldMethod · 0.95
CreateAllowListMethod · 0.45
UpdateAllowlistMetaMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected