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

Method SetStorage

ent/user_create.go:118–121  ·  view source on GitHub ↗

SetStorage sets the "storage" field.

(i int64)

Source from the content-addressed store, hash-verified

116
117// SetStorage sets the "storage" field.
118func (uc *UserCreate) SetStorage(i int64) *UserCreate {
119 uc.mutation.SetStorage(i)
120 return uc
121}
122
123// SetNillableStorage sets the "storage" field if the given value is not nil.
124func (uc *UserCreate) SetNillableStorage(i *int64) *UserCreate {

Callers 2

SetNillableStorageMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected