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

Method SetServer

ent/node_update.go:103–106  ·  view source on GitHub ↗

SetServer sets the "server" field.

(s string)

Source from the content-addressed store, hash-verified

101
102// SetServer sets the "server" field.
103func (nu *NodeUpdate) SetServer(s string) *NodeUpdate {
104 nu.mutation.SetServer(s)
105 return nu
106}
107
108// SetNillableServer sets the "server" field if the given value is not nil.
109func (nu *NodeUpdate) SetNillableServer(s *string) *NodeUpdate {

Callers 2

SetNillableServerMethod · 0.95
SetServerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected