MCPcopy Index your code
hub / github.com/cloudreve/cloudreve / SetStatus

Method SetStatus

ent/user_update.go:1135–1138  ·  view source on GitHub ↗

SetStatus sets the "status" field.

(u user.Status)

Source from the content-addressed store, hash-verified

1133
1134// SetStatus sets the "status" field.
1135func (uuo *UserUpdateOne) SetStatus(u user.Status) *UserUpdateOne {
1136 uuo.mutation.SetStatus(u)
1137 return uuo
1138}
1139
1140// SetNillableStatus sets the "status" field if the given value is not nil.
1141func (uuo *UserUpdateOne) SetNillableStatus(u *user.Status) *UserUpdateOne {

Callers 1

SetNillableStatusMethod · 0.95

Calls 1

SetStatusMethod · 0.65

Tested by

no test coverage detected