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

Method UpdateCapabilities

ent/node_create.go:720–724  ·  view source on GitHub ↗

UpdateCapabilities sets the "capabilities" field to the value that was provided on create.

()

Source from the content-addressed store, hash-verified

718
719// UpdateCapabilities sets the "capabilities" field to the value that was provided on create.
720func (u *NodeUpsertOne) UpdateCapabilities() *NodeUpsertOne {
721 return u.Update(func(s *NodeUpsert) {
722 s.UpdateCapabilities()
723 })
724}
725
726// SetSettings sets the "settings" field.
727func (u *NodeUpsertOne) SetSettings(v *types.NodeSetting) *NodeUpsertOne {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected