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

Method SetCapabilities

ent/node_update.go:143–146  ·  view source on GitHub ↗

SetCapabilities sets the "capabilities" field.

(bs *boolset.BooleanSet)

Source from the content-addressed store, hash-verified

141
142// SetCapabilities sets the "capabilities" field.
143func (nu *NodeUpdate) SetCapabilities(bs *boolset.BooleanSet) *NodeUpdate {
144 nu.mutation.SetCapabilities(bs)
145 return nu
146}
147
148// SetSettings sets the "settings" field.
149func (nu *NodeUpdate) SetSettings(ts *types.NodeSetting) *NodeUpdate {

Callers 1

SetCapabilitiesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected