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

Method Update

inventory/task.go:37–37  ·  view source on GitHub ↗

Update updates the task with the given args.

(ctx context.Context, task *ent.Task, args *TaskArgs)

Source from the content-addressed store, hash-verified

35 New(ctx context.Context, task *TaskArgs) (*ent.Task, error)
36 // Update updates the task with the given args.
37 Update(ctx context.Context, task *ent.Task, args *TaskArgs) (*ent.Task, error)
38 // GetPendingTasks returns all pending tasks of given type.
39 GetPendingTasks(ctx context.Context, taskType ...string) ([]*ent.Task, error)
40 // GetTaskByID returns the task with the given ID.

Callers

nothing calls this directly

Implementers 1

taskClientinventory/task.go

Calls

no outgoing calls

Tested by

no test coverage detected