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

Method ClearSlaveKey

ent/node_create.go:706–710  ·  view source on GitHub ↗

ClearSlaveKey clears the value of the "slave_key" field.

()

Source from the content-addressed store, hash-verified

704
705// ClearSlaveKey clears the value of the "slave_key" field.
706func (u *NodeUpsertOne) ClearSlaveKey() *NodeUpsertOne {
707 return u.Update(func(s *NodeUpsert) {
708 s.ClearSlaveKey()
709 })
710}
711
712// SetCapabilities sets the "capabilities" field.
713func (u *NodeUpsertOne) SetCapabilities(v *boolset.BooleanSet) *NodeUpsertOne {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected