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

Method SetServer

ent/node_create.go:465–468  ·  view source on GitHub ↗

SetServer sets the "server" field.

(v string)

Source from the content-addressed store, hash-verified

463
464// SetServer sets the "server" field.
465func (u *NodeUpsert) SetServer(v string) *NodeUpsert {
466 u.Set(node.FieldServer, v)
467 return u
468}
469
470// UpdateServer sets the "server" field to the value that was provided on create.
471func (u *NodeUpsert) UpdateServer() *NodeUpsert {

Callers

nothing calls this directly

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected