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

Method SetStatus

ent/task_create.go:77–80  ·  view source on GitHub ↗

SetStatus sets the "status" field.

(t task.Status)

Source from the content-addressed store, hash-verified

75
76// SetStatus sets the "status" field.
77func (tc *TaskCreate) SetStatus(t task.Status) *TaskCreate {
78 tc.mutation.SetStatus(t)
79 return tc
80}
81
82// SetNillableStatus sets the "status" field if the given value is not nil.
83func (tc *TaskCreate) SetNillableStatus(t *task.Status) *TaskCreate {

Callers 1

SetNillableStatusMethod · 0.95

Calls 1

SetStatusMethod · 0.65

Tested by

no test coverage detected