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

Method SetSourceAsNumber

pkg/database/ent/mutation.go:674–676  ·  view source on GitHub ↗

SetSourceAsNumber sets the "sourceAsNumber" field.

(s string)

Source from the content-addressed store, hash-verified

672
673// SetSourceAsNumber sets the "sourceAsNumber" field.
674func (m *AlertMutation) SetSourceAsNumber(s string) {
675 m.sourceAsNumber = &s
676}
677
678// SourceAsNumber returns the value of the "sourceAsNumber" field in the mutation.
679func (m *AlertMutation) SourceAsNumber() (r string, exists bool) {

Callers 3

SetFieldMethod · 0.95
createAlertBatchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected