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

Method SetPublicState

ent/task_create.go:91–94  ·  view source on GitHub ↗

SetPublicState sets the "public_state" field.

(tps *types.TaskPublicState)

Source from the content-addressed store, hash-verified

89
90// SetPublicState sets the "public_state" field.
91func (tc *TaskCreate) SetPublicState(tps *types.TaskPublicState) *TaskCreate {
92 tc.mutation.SetPublicState(tps)
93 return tc
94}
95
96// SetPrivateState sets the "private_state" field.
97func (tc *TaskCreate) SetPrivateState(s string) *TaskCreate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected