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

Method SetName

ent/node_create.go:77–80  ·  view source on GitHub ↗

SetName sets the "name" field.

(s string)

Source from the content-addressed store, hash-verified

75
76// SetName sets the "name" field.
77func (nc *NodeCreate) SetName(s string) *NodeCreate {
78 nc.mutation.SetName(s)
79 return nc
80}
81
82// SetType sets the "type" field.
83func (nc *NodeCreate) SetType(n node.Type) *NodeCreate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected