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

Method SetSlaveKey

ent/node_update.go:123–126  ·  view source on GitHub ↗

SetSlaveKey sets the "slave_key" field.

(s string)

Source from the content-addressed store, hash-verified

121
122// SetSlaveKey sets the "slave_key" field.
123func (nu *NodeUpdate) SetSlaveKey(s string) *NodeUpdate {
124 nu.mutation.SetSlaveKey(s)
125 return nu
126}
127
128// SetNillableSlaveKey sets the "slave_key" field if the given value is not nil.
129func (nu *NodeUpdate) SetNillableSlaveKey(s *string) *NodeUpdate {

Callers 2

SetNillableSlaveKeyMethod · 0.95
SetSlaveKeyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected