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

Method AddStorage

ent/user_update.go:145–148  ·  view source on GitHub ↗

AddStorage adds i to the "storage" field.

(i int64)

Source from the content-addressed store, hash-verified

143
144// AddStorage adds i to the "storage" field.
145func (uu *UserUpdate) AddStorage(i int64) *UserUpdate {
146 uu.mutation.AddStorage(i)
147 return uu
148}
149
150// SetTwoFactorSecret sets the "two_factor_secret" field.
151func (uu *UserUpdate) SetTwoFactorSecret(s string) *UserUpdate {

Callers 1

AddStorageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected