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

Method SetName

ent/node_create.go:441–444  ·  view source on GitHub ↗

SetName sets the "name" field.

(v string)

Source from the content-addressed store, hash-verified

439
440// SetName sets the "name" field.
441func (u *NodeUpsert) SetName(v string) *NodeUpsert {
442 u.Set(node.FieldName, v)
443 return u
444}
445
446// UpdateName sets the "name" field to the value that was provided on create.
447func (u *NodeUpsert) UpdateName() *NodeUpsert {

Callers

nothing calls this directly

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected