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

Method AddStorage

ent/user_update.go:1164–1167  ·  view source on GitHub ↗

AddStorage adds i to the "storage" field.

(i int64)

Source from the content-addressed store, hash-verified

1162
1163// AddStorage adds i to the "storage" field.
1164func (uuo *UserUpdateOne) AddStorage(i int64) *UserUpdateOne {
1165 uuo.mutation.AddStorage(i)
1166 return uuo
1167}
1168
1169// SetTwoFactorSecret sets the "two_factor_secret" field.
1170func (uuo *UserUpdateOne) SetTwoFactorSecret(s string) *UserUpdateOne {

Callers

nothing calls this directly

Calls 1

AddStorageMethod · 0.45

Tested by

no test coverage detected