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

Method SetSourceRange

pkg/database/ent/mutation.go:625–627  ·  view source on GitHub ↗

SetSourceRange sets the "sourceRange" field.

(s string)

Source from the content-addressed store, hash-verified

623
624// SetSourceRange sets the "sourceRange" field.
625func (m *AlertMutation) SetSourceRange(s string) {
626 m.sourceRange = &s
627}
628
629// SourceRange returns the value of the "sourceRange" field in the mutation.
630func (m *AlertMutation) SourceRange() (r string, exists bool) {

Callers 3

SetFieldMethod · 0.95
createAlertBatchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected