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

Method SetSettings

ent/user_update.go:1210–1213  ·  view source on GitHub ↗

SetSettings sets the "settings" field.

(ts *types.UserSetting)

Source from the content-addressed store, hash-verified

1208
1209// SetSettings sets the "settings" field.
1210func (uuo *UserUpdateOne) SetSettings(ts *types.UserSetting) *UserUpdateOne {
1211 uuo.mutation.SetSettings(ts)
1212 return uuo
1213}
1214
1215// ClearSettings clears the value of the "settings" field.
1216func (uuo *UserUpdateOne) ClearSettings() *UserUpdateOne {

Callers

nothing calls this directly

Calls 1

SetSettingsMethod · 0.45

Tested by

no test coverage detected