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

Method SetStatus

ent/user_update.go:116–119  ·  view source on GitHub ↗

SetStatus sets the "status" field.

(u user.Status)

Source from the content-addressed store, hash-verified

114
115// SetStatus sets the "status" field.
116func (uu *UserUpdate) SetStatus(u user.Status) *UserUpdate {
117 uu.mutation.SetStatus(u)
118 return uu
119}
120
121// SetNillableStatus sets the "status" field if the given value is not nil.
122func (uu *UserUpdate) SetNillableStatus(u *user.Status) *UserUpdate {

Callers 1

SetNillableStatusMethod · 0.95

Calls 1

SetStatusMethod · 0.65

Tested by

no test coverage detected