MCPcopy Index your code
hub / github.com/cloudreve/cloudreve / SetStatus

Method SetStatus

ent/node_update.go:61–64  ·  view source on GitHub ↗

SetStatus sets the "status" field.

(n node.Status)

Source from the content-addressed store, hash-verified

59
60// SetStatus sets the "status" field.
61func (nu *NodeUpdate) SetStatus(n node.Status) *NodeUpdate {
62 nu.mutation.SetStatus(n)
63 return nu
64}
65
66// SetNillableStatus sets the "status" field if the given value is not nil.
67func (nu *NodeUpdate) SetNillableStatus(n *node.Status) *NodeUpdate {

Callers 1

SetNillableStatusMethod · 0.95

Calls 1

SetStatusMethod · 0.65

Tested by

no test coverage detected