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

Method SetCapabilities

ent/node_create.go:501–504  ·  view source on GitHub ↗

SetCapabilities sets the "capabilities" field.

(v *boolset.BooleanSet)

Source from the content-addressed store, hash-verified

499
500// SetCapabilities sets the "capabilities" field.
501func (u *NodeUpsert) SetCapabilities(v *boolset.BooleanSet) *NodeUpsert {
502 u.Set(node.FieldCapabilities, v)
503 return u
504}
505
506// UpdateCapabilities sets the "capabilities" field to the value that was provided on create.
507func (u *NodeUpsert) UpdateCapabilities() *NodeUpsert {

Callers

nothing calls this directly

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected