MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / ServerCleared

Method ServerCleared

ent/mutation.go:12878–12881  ·  view source on GitHub ↗

ServerCleared returns if the "server" field was cleared in this mutation.

()

Source from the content-addressed store, hash-verified

12876
12877// ServerCleared returns if the "server" field was cleared in this mutation.
12878func (m *StoragePolicyMutation) ServerCleared() bool {
12879 _, ok := m.clearedFields[storagepolicy.FieldServer]
12880 return ok
12881}
12882
12883// ResetServer resets all changes to the "server" field.
12884func (m *StoragePolicyMutation) ResetServer() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected