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

Method SetStatus

ent/node_update.go:428–431  ·  view source on GitHub ↗

SetStatus sets the "status" field.

(n node.Status)

Source from the content-addressed store, hash-verified

426
427// SetStatus sets the "status" field.
428func (nuo *NodeUpdateOne) SetStatus(n node.Status) *NodeUpdateOne {
429 nuo.mutation.SetStatus(n)
430 return nuo
431}
432
433// SetNillableStatus sets the "status" field if the given value is not nil.
434func (nuo *NodeUpdateOne) SetNillableStatus(n *node.Status) *NodeUpdateOne {

Callers 1

SetNillableStatusMethod · 0.95

Calls 1

SetStatusMethod · 0.65

Tested by

no test coverage detected