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

Method SetServer

ent/node_create.go:89–92  ·  view source on GitHub ↗

SetServer sets the "server" field.

(s string)

Source from the content-addressed store, hash-verified

87
88// SetServer sets the "server" field.
89func (nc *NodeCreate) SetServer(s string) *NodeCreate {
90 nc.mutation.SetServer(s)
91 return nc
92}
93
94// SetNillableServer sets the "server" field if the given value is not nil.
95func (nc *NodeCreate) SetNillableServer(s *string) *NodeCreate {

Callers 1

SetNillableServerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected