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

Method SetCorrelationID

ent/task_create.go:111–114  ·  view source on GitHub ↗

SetCorrelationID sets the "correlation_id" field.

(u uuid.UUID)

Source from the content-addressed store, hash-verified

109
110// SetCorrelationID sets the "correlation_id" field.
111func (tc *TaskCreate) SetCorrelationID(u uuid.UUID) *TaskCreate {
112 tc.mutation.SetCorrelationID(u)
113 return tc
114}
115
116// SetNillableCorrelationID sets the "correlation_id" field if the given value is not nil.
117func (tc *TaskCreate) SetNillableCorrelationID(u *uuid.UUID) *TaskCreate {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected