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

Method SetSettings

ent/node_create.go:727–731  ·  view source on GitHub ↗

SetSettings sets the "settings" field.

(v *types.NodeSetting)

Source from the content-addressed store, hash-verified

725
726// SetSettings sets the "settings" field.
727func (u *NodeUpsertOne) SetSettings(v *types.NodeSetting) *NodeUpsertOne {
728 return u.Update(func(s *NodeUpsert) {
729 s.SetSettings(v)
730 })
731}
732
733// UpdateSettings sets the "settings" field to the value that was provided on create.
734func (u *NodeUpsertOne) UpdateSettings() *NodeUpsertOne {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected