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

Method SetServer

ent/mutation.go:12841–12843  ·  view source on GitHub ↗

SetServer sets the "server" field.

(s string)

Source from the content-addressed store, hash-verified

12839
12840// SetServer sets the "server" field.
12841func (m *StoragePolicyMutation) SetServer(s string) {
12842 m.server = &s
12843}
12844
12845// Server returns the value of the "server" field in the mutation.
12846func (m *StoragePolicyMutation) Server() (r string, exists bool) {

Callers 1

SetFieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected