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

Method SetType

ent/task_update.go:60–63  ·  view source on GitHub ↗

SetType sets the "type" field.

(s string)

Source from the content-addressed store, hash-verified

58
59// SetType sets the "type" field.
60func (tu *TaskUpdate) SetType(s string) *TaskUpdate {
61 tu.mutation.SetType(s)
62 return tu
63}
64
65// SetNillableType sets the "type" field if the given value is not nil.
66func (tu *TaskUpdate) SetNillableType(s *string) *TaskUpdate {

Callers 2

SetNillableTypeMethod · 0.95
SetTypeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected