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

Method SetPassword

ent/share_update.go:440–443  ·  view source on GitHub ↗

SetPassword sets the "password" field.

(s string)

Source from the content-addressed store, hash-verified

438
439// SetPassword sets the "password" field.
440func (suo *ShareUpdateOne) SetPassword(s string) *ShareUpdateOne {
441 suo.mutation.SetPassword(s)
442 return suo
443}
444
445// SetNillablePassword sets the "password" field if the given value is not nil.
446func (suo *ShareUpdateOne) SetNillablePassword(s *string) *ShareUpdateOne {

Callers 1

SetNillablePasswordMethod · 0.95

Calls 1

SetPasswordMethod · 0.45

Tested by

no test coverage detected