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

Method SetCapabilities

ent/node_create.go:1104–1108  ·  view source on GitHub ↗

SetCapabilities sets the "capabilities" field.

(v *boolset.BooleanSet)

Source from the content-addressed store, hash-verified

1102
1103// SetCapabilities sets the "capabilities" field.
1104func (u *NodeUpsertBulk) SetCapabilities(v *boolset.BooleanSet) *NodeUpsertBulk {
1105 return u.Update(func(s *NodeUpsert) {
1106 s.SetCapabilities(v)
1107 })
1108}
1109
1110// UpdateCapabilities sets the "capabilities" field to the value that was provided on create.
1111func (u *NodeUpsertBulk) UpdateCapabilities() *NodeUpsertBulk {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected