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

Method SetType

ent/storagepolicy_create.go:79–82  ·  view source on GitHub ↗

SetType sets the "type" field.

(s string)

Source from the content-addressed store, hash-verified

77
78// SetType sets the "type" field.
79func (spc *StoragePolicyCreate) SetType(s string) *StoragePolicyCreate {
80 spc.mutation.SetType(s)
81 return spc
82}
83
84// SetServer sets the "server" field.
85func (spc *StoragePolicyCreate) SetServer(s string) *StoragePolicyCreate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected