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

Method SetSecretKey

ent/storagepolicy_create.go:141–144  ·  view source on GitHub ↗

SetSecretKey sets the "secret_key" field.

(s string)

Source from the content-addressed store, hash-verified

139
140// SetSecretKey sets the "secret_key" field.
141func (spc *StoragePolicyCreate) SetSecretKey(s string) *StoragePolicyCreate {
142 spc.mutation.SetSecretKey(s)
143 return spc
144}
145
146// SetNillableSecretKey sets the "secret_key" field if the given value is not nil.
147func (spc *StoragePolicyCreate) SetNillableSecretKey(s *string) *StoragePolicyCreate {

Callers 1

SetNillableSecretKeyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected