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

Method SetPassword

ent/user_update.go:1115–1118  ·  view source on GitHub ↗

SetPassword sets the "password" field.

(s string)

Source from the content-addressed store, hash-verified

1113
1114// SetPassword sets the "password" field.
1115func (uuo *UserUpdateOne) SetPassword(s string) *UserUpdateOne {
1116 uuo.mutation.SetPassword(s)
1117 return uuo
1118}
1119
1120// SetNillablePassword sets the "password" field if the given value is not nil.
1121func (uuo *UserUpdateOne) SetNillablePassword(s *string) *UserUpdateOne {

Callers 1

SetNillablePasswordMethod · 0.95

Calls 1

SetPasswordMethod · 0.45

Tested by

no test coverage detected