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

Method SetAvatar

ent/user_create.go:146–149  ·  view source on GitHub ↗

SetAvatar sets the "avatar" field.

(s string)

Source from the content-addressed store, hash-verified

144
145// SetAvatar sets the "avatar" field.
146func (uc *UserCreate) SetAvatar(s string) *UserCreate {
147 uc.mutation.SetAvatar(s)
148 return uc
149}
150
151// SetNillableAvatar sets the "avatar" field if the given value is not nil.
152func (uc *UserCreate) SetNillableAvatar(s *string) *UserCreate {

Callers 1

SetNillableAvatarMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected