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

Method SetStatus

ent/node_create.go:1020–1024  ·  view source on GitHub ↗

SetStatus sets the "status" field.

(v node.Status)

Source from the content-addressed store, hash-verified

1018
1019// SetStatus sets the "status" field.
1020func (u *NodeUpsertBulk) SetStatus(v node.Status) *NodeUpsertBulk {
1021 return u.Update(func(s *NodeUpsert) {
1022 s.SetStatus(v)
1023 })
1024}
1025
1026// UpdateStatus sets the "status" field to the value that was provided on create.
1027func (u *NodeUpsertBulk) UpdateStatus() *NodeUpsertBulk {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected