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

Method HubstateCleared

pkg/database/ent/mutation.go:9558–9561  ·  view source on GitHub ↗

HubstateCleared returns if the "hubstate" field was cleared in this mutation.

()

Source from the content-addressed store, hash-verified

9556
9557// HubstateCleared returns if the "hubstate" field was cleared in this mutation.
9558func (m *MachineMutation) HubstateCleared() bool {
9559 _, ok := m.clearedFields[machine.FieldHubstate]
9560 return ok
9561}
9562
9563// ResetHubstate resets all changes to the "hubstate" field.
9564func (m *MachineMutation) ResetHubstate() {

Callers 2

sqlSaveMethod · 0.80
sqlSaveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected