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

Method SetName

ent/node_create.go:643–647  ·  view source on GitHub ↗

SetName sets the "name" field.

(v string)

Source from the content-addressed store, hash-verified

641
642// SetName sets the "name" field.
643func (u *NodeUpsertOne) SetName(v string) *NodeUpsertOne {
644 return u.Update(func(s *NodeUpsert) {
645 s.SetName(v)
646 })
647}
648
649// UpdateName sets the "name" field to the value that was provided on create.
650func (u *NodeUpsertOne) UpdateName() *NodeUpsertOne {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected