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

Method SetPrivateState

ent/task_create.go:97–100  ·  view source on GitHub ↗

SetPrivateState sets the "private_state" field.

(s string)

Source from the content-addressed store, hash-verified

95
96// SetPrivateState sets the "private_state" field.
97func (tc *TaskCreate) SetPrivateState(s string) *TaskCreate {
98 tc.mutation.SetPrivateState(s)
99 return tc
100}
101
102// SetNillablePrivateState sets the "private_state" field if the given value is not nil.
103func (tc *TaskCreate) SetNillablePrivateState(s *string) *TaskCreate {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected