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

Method SetCapabilities

ent/node_create.go:117–120  ·  view source on GitHub ↗

SetCapabilities sets the "capabilities" field.

(bs *boolset.BooleanSet)

Source from the content-addressed store, hash-verified

115
116// SetCapabilities sets the "capabilities" field.
117func (nc *NodeCreate) SetCapabilities(bs *boolset.BooleanSet) *NodeCreate {
118 nc.mutation.SetCapabilities(bs)
119 return nc
120}
121
122// SetSettings sets the "settings" field.
123func (nc *NodeCreate) SetSettings(ts *types.NodeSetting) *NodeCreate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected