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

Method SetServer

ent/node_update.go:470–473  ·  view source on GitHub ↗

SetServer sets the "server" field.

(s string)

Source from the content-addressed store, hash-verified

468
469// SetServer sets the "server" field.
470func (nuo *NodeUpdateOne) SetServer(s string) *NodeUpdateOne {
471 nuo.mutation.SetServer(s)
472 return nuo
473}
474
475// SetNillableServer sets the "server" field if the given value is not nil.
476func (nuo *NodeUpdateOne) SetNillableServer(s *string) *NodeUpdateOne {

Callers 1

SetNillableServerMethod · 0.95

Calls 1

SetServerMethod · 0.45

Tested by

no test coverage detected