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

Method SetServer

ent/storagepolicy_create.go:85–88  ·  view source on GitHub ↗

SetServer sets the "server" field.

(s string)

Source from the content-addressed store, hash-verified

83
84// SetServer sets the "server" field.
85func (spc *StoragePolicyCreate) SetServer(s string) *StoragePolicyCreate {
86 spc.mutation.SetServer(s)
87 return spc
88}
89
90// SetNillableServer sets the "server" field if the given value is not nil.
91func (spc *StoragePolicyCreate) SetNillableServer(s *string) *StoragePolicyCreate {

Callers 1

SetNillableServerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected