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

Method SetName

ent/node_update.go:75–78  ·  view source on GitHub ↗

SetName sets the "name" field.

(s string)

Source from the content-addressed store, hash-verified

73
74// SetName sets the "name" field.
75func (nu *NodeUpdate) SetName(s string) *NodeUpdate {
76 nu.mutation.SetName(s)
77 return nu
78}
79
80// SetNillableName sets the "name" field if the given value is not nil.
81func (nu *NodeUpdate) SetNillableName(s *string) *NodeUpdate {

Callers 2

SetNillableNameMethod · 0.95
SetNameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected