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

Method Scope

pkg/database/ent/mutation.go:6882–6888  ·  view source on GitHub ↗

Scope returns the value of the "scope" field in the mutation.

()

Source from the content-addressed store, hash-verified

6880
6881// Scope returns the value of the "scope" field in the mutation.
6882func (m *DecisionMutation) Scope() (r string, exists bool) {
6883 v := m.scope
6884 if v == nil {
6885 return
6886 }
6887 return *v, true
6888}
6889
6890// OldScope returns the old "scope" field's value of the Decision entity.
6891// If the Decision object wasn't provided to the builder, the object is fetched from the database.

Callers 5

FieldMethod · 0.95
checkMethod · 0.80
createSpecMethod · 0.80
UpdateNewValuesMethod · 0.80
UpdateNewValuesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected