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

Method ClearSlaveKey

ent/node_update.go:504–507  ·  view source on GitHub ↗

ClearSlaveKey clears the value of the "slave_key" field.

()

Source from the content-addressed store, hash-verified

502
503// ClearSlaveKey clears the value of the "slave_key" field.
504func (nuo *NodeUpdateOne) ClearSlaveKey() *NodeUpdateOne {
505 nuo.mutation.ClearSlaveKey()
506 return nuo
507}
508
509// SetCapabilities sets the "capabilities" field.
510func (nuo *NodeUpdateOne) SetCapabilities(bs *boolset.BooleanSet) *NodeUpdateOne {

Callers

nothing calls this directly

Calls 1

ClearSlaveKeyMethod · 0.45

Tested by

no test coverage detected