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

Method ClearSlaveKey

ent/node_update.go:137–140  ·  view source on GitHub ↗

ClearSlaveKey clears the value of the "slave_key" field.

()

Source from the content-addressed store, hash-verified

135
136// ClearSlaveKey clears the value of the "slave_key" field.
137func (nu *NodeUpdate) ClearSlaveKey() *NodeUpdate {
138 nu.mutation.ClearSlaveKey()
139 return nu
140}
141
142// SetCapabilities sets the "capabilities" field.
143func (nu *NodeUpdate) SetCapabilities(bs *boolset.BooleanSet) *NodeUpdate {

Callers 1

ClearSlaveKeyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected