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

Method SetName

ent/node_update.go:442–445  ·  view source on GitHub ↗

SetName sets the "name" field.

(s string)

Source from the content-addressed store, hash-verified

440
441// SetName sets the "name" field.
442func (nuo *NodeUpdateOne) SetName(s string) *NodeUpdateOne {
443 nuo.mutation.SetName(s)
444 return nuo
445}
446
447// SetNillableName sets the "name" field if the given value is not nil.
448func (nuo *NodeUpdateOne) SetNillableName(s *string) *NodeUpdateOne {

Callers 1

SetNillableNameMethod · 0.95

Calls 1

SetNameMethod · 0.45

Tested by

no test coverage detected