MCPcopy Index your code
hub / github.com/cloudreve/cloudreve / ValueCleared

Method ValueCleared

ent/mutation.go:11153–11156  ·  view source on GitHub ↗

ValueCleared returns if the "value" field was cleared in this mutation.

()

Source from the content-addressed store, hash-verified

11151
11152// ValueCleared returns if the "value" field was cleared in this mutation.
11153func (m *SettingMutation) ValueCleared() bool {
11154 _, ok := m.clearedFields[setting.FieldValue]
11155 return ok
11156}
11157
11158// ResetValue resets all changes to the "value" field.
11159func (m *SettingMutation) ResetValue() {

Callers 2

sqlSaveMethod · 0.80
sqlSaveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected