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

Method SetServer

ent/node_create.go:1062–1066  ·  view source on GitHub ↗

SetServer sets the "server" field.

(v string)

Source from the content-addressed store, hash-verified

1060
1061// SetServer sets the "server" field.
1062func (u *NodeUpsertBulk) SetServer(v string) *NodeUpsertBulk {
1063 return u.Update(func(s *NodeUpsert) {
1064 s.SetServer(v)
1065 })
1066}
1067
1068// UpdateServer sets the "server" field to the value that was provided on create.
1069func (u *NodeUpsertBulk) UpdateServer() *NodeUpsertBulk {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected