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

Method SetServer

ent/node_create.go:671–675  ·  view source on GitHub ↗

SetServer sets the "server" field.

(v string)

Source from the content-addressed store, hash-verified

669
670// SetServer sets the "server" field.
671func (u *NodeUpsertOne) SetServer(v string) *NodeUpsertOne {
672 return u.Update(func(s *NodeUpsert) {
673 s.SetServer(v)
674 })
675}
676
677// UpdateServer sets the "server" field to the value that was provided on create.
678func (u *NodeUpsertOne) UpdateServer() *NodeUpsertOne {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected