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

Method SetPrivateState

ent/task_update.go:364–367  ·  view source on GitHub ↗

SetPrivateState sets the "private_state" field.

(s string)

Source from the content-addressed store, hash-verified

362
363// SetPrivateState sets the "private_state" field.
364func (tuo *TaskUpdateOne) SetPrivateState(s string) *TaskUpdateOne {
365 tuo.mutation.SetPrivateState(s)
366 return tuo
367}
368
369// SetNillablePrivateState sets the "private_state" field if the given value is not nil.
370func (tuo *TaskUpdateOne) SetNillablePrivateState(s *string) *TaskUpdateOne {

Callers 1

Calls 1

SetPrivateStateMethod · 0.45

Tested by

no test coverage detected