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

Method SetSlaveKey

ent/node_create.go:103–106  ·  view source on GitHub ↗

SetSlaveKey sets the "slave_key" field.

(s string)

Source from the content-addressed store, hash-verified

101
102// SetSlaveKey sets the "slave_key" field.
103func (nc *NodeCreate) SetSlaveKey(s string) *NodeCreate {
104 nc.mutation.SetSlaveKey(s)
105 return nc
106}
107
108// SetNillableSlaveKey sets the "slave_key" field if the given value is not nil.
109func (nc *NodeCreate) SetNillableSlaveKey(s *string) *NodeCreate {

Callers 1

SetNillableSlaveKeyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected