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

Method SetSettings

ent/node_update.go:516–519  ·  view source on GitHub ↗

SetSettings sets the "settings" field.

(ts *types.NodeSetting)

Source from the content-addressed store, hash-verified

514
515// SetSettings sets the "settings" field.
516func (nuo *NodeUpdateOne) SetSettings(ts *types.NodeSetting) *NodeUpdateOne {
517 nuo.mutation.SetSettings(ts)
518 return nuo
519}
520
521// ClearSettings clears the value of the "settings" field.
522func (nuo *NodeUpdateOne) ClearSettings() *NodeUpdateOne {

Callers

nothing calls this directly

Calls 1

SetSettingsMethod · 0.45

Tested by

no test coverage detected