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

Method SetSettings

ent/node_create.go:123–126  ·  view source on GitHub ↗

SetSettings sets the "settings" field.

(ts *types.NodeSetting)

Source from the content-addressed store, hash-verified

121
122// SetSettings sets the "settings" field.
123func (nc *NodeCreate) SetSettings(ts *types.NodeSetting) *NodeCreate {
124 nc.mutation.SetSettings(ts)
125 return nc
126}
127
128// SetWeight sets the "weight" field.
129func (nc *NodeCreate) SetWeight(i int) *NodeCreate {

Callers 1

defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected