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

Method ClearSlaveKey

ent/node_create.go:495–498  ·  view source on GitHub ↗

ClearSlaveKey clears the value of the "slave_key" field.

()

Source from the content-addressed store, hash-verified

493
494// ClearSlaveKey clears the value of the "slave_key" field.
495func (u *NodeUpsert) ClearSlaveKey() *NodeUpsert {
496 u.SetNull(node.FieldSlaveKey)
497 return u
498}
499
500// SetCapabilities sets the "capabilities" field.
501func (u *NodeUpsert) SetCapabilities(v *boolset.BooleanSet) *NodeUpsert {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected