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

Method Mutation

ent/task_create.go:158–160  ·  view source on GitHub ↗

Mutation returns the TaskMutation object of the builder.

()

Source from the content-addressed store, hash-verified

156
157// Mutation returns the TaskMutation object of the builder.
158func (tc *TaskCreate) Mutation() *TaskMutation {
159 return tc.mutation
160}
161
162// Save creates the Task in the database.
163func (tc *TaskCreate) Save(ctx context.Context) (*Task, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected