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

Method IsValidated

pkg/database/ent/mutation.go:9258–9264  ·  view source on GitHub ↗

IsValidated returns the value of the "isValidated" field in the mutation.

()

Source from the content-addressed store, hash-verified

9256
9257// IsValidated returns the value of the "isValidated" field in the mutation.
9258func (m *MachineMutation) IsValidated() (r bool, exists bool) {
9259 v := m.isValidated
9260 if v == nil {
9261 return
9262 }
9263 return *v, true
9264}
9265
9266// OldIsValidated returns the old "isValidated" field's value of the Machine entity.
9267// If the Machine object wasn't provided to the builder, the object is fetched from the database.

Callers 6

FieldMethod · 0.95
defaultsMethod · 0.80
checkMethod · 0.80
createSpecMethod · 0.80
sqlSaveMethod · 0.80
sqlSaveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected