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

Method SetPassword

ent/share_create.go:71–74  ·  view source on GitHub ↗

SetPassword sets the "password" field.

(s string)

Source from the content-addressed store, hash-verified

69
70// SetPassword sets the "password" field.
71func (sc *ShareCreate) SetPassword(s string) *ShareCreate {
72 sc.mutation.SetPassword(s)
73 return sc
74}
75
76// SetNillablePassword sets the "password" field if the given value is not nil.
77func (sc *ShareCreate) SetNillablePassword(s *string) *ShareCreate {

Callers 1

SetNillablePasswordMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected