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

Method SetStatus

ent/node_create.go:429–432  ·  view source on GitHub ↗

SetStatus sets the "status" field.

(v node.Status)

Source from the content-addressed store, hash-verified

427
428// SetStatus sets the "status" field.
429func (u *NodeUpsert) SetStatus(v node.Status) *NodeUpsert {
430 u.Set(node.FieldStatus, v)
431 return u
432}
433
434// UpdateStatus sets the "status" field to the value that was provided on create.
435func (u *NodeUpsert) UpdateStatus() *NodeUpsert {

Callers

nothing calls this directly

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected