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

Method LastPushCleared

pkg/database/ent/mutation.go:8986–8989  ·  view source on GitHub ↗

LastPushCleared returns if the "last_push" field was cleared in this mutation.

()

Source from the content-addressed store, hash-verified

8984
8985// LastPushCleared returns if the "last_push" field was cleared in this mutation.
8986func (m *MachineMutation) LastPushCleared() bool {
8987 _, ok := m.clearedFields[machine.FieldLastPush]
8988 return ok
8989}
8990
8991// ResetLastPush resets all changes to the "last_push" field.
8992func (m *MachineMutation) ResetLastPush() {

Callers 2

sqlSaveMethod · 0.80
sqlSaveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected