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

Method SetCapabilities

ent/node_create.go:713–717  ·  view source on GitHub ↗

SetCapabilities sets the "capabilities" field.

(v *boolset.BooleanSet)

Source from the content-addressed store, hash-verified

711
712// SetCapabilities sets the "capabilities" field.
713func (u *NodeUpsertOne) SetCapabilities(v *boolset.BooleanSet) *NodeUpsertOne {
714 return u.Update(func(s *NodeUpsert) {
715 s.SetCapabilities(v)
716 })
717}
718
719// UpdateCapabilities sets the "capabilities" field to the value that was provided on create.
720func (u *NodeUpsertOne) UpdateCapabilities() *NodeUpsertOne {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected