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

Method SetType

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

SetType sets the "type" field.

(s string)

Source from the content-addressed store, hash-verified

69
70// SetType sets the "type" field.
71func (tc *TaskCreate) SetType(s string) *TaskCreate {
72 tc.mutation.SetType(s)
73 return tc
74}
75
76// SetStatus sets the "status" field.
77func (tc *TaskCreate) SetStatus(t task.Status) *TaskCreate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected