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

Method SetStatus

ent/node_create.go:71–74  ·  view source on GitHub ↗

SetStatus sets the "status" field.

(n node.Status)

Source from the content-addressed store, hash-verified

69
70// SetStatus sets the "status" field.
71func (nc *NodeCreate) SetStatus(n node.Status) *NodeCreate {
72 nc.mutation.SetStatus(n)
73 return nc
74}
75
76// SetName sets the "name" field.
77func (nc *NodeCreate) SetName(s string) *NodeCreate {

Callers

nothing calls this directly

Calls 1

SetStatusMethod · 0.65

Tested by

no test coverage detected