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

Method SetCapabilities

ent/node_update.go:510–513  ·  view source on GitHub ↗

SetCapabilities sets the "capabilities" field.

(bs *boolset.BooleanSet)

Source from the content-addressed store, hash-verified

508
509// SetCapabilities sets the "capabilities" field.
510func (nuo *NodeUpdateOne) SetCapabilities(bs *boolset.BooleanSet) *NodeUpdateOne {
511 nuo.mutation.SetCapabilities(bs)
512 return nuo
513}
514
515// SetSettings sets the "settings" field.
516func (nuo *NodeUpdateOne) SetSettings(ts *types.NodeSetting) *NodeUpdateOne {

Callers

nothing calls this directly

Calls 1

SetCapabilitiesMethod · 0.45

Tested by

no test coverage detected