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

Method GetPendingTasks

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

GetPendingTasks returns all pending tasks of given type.

(ctx context.Context, taskType ...string)

Source from the content-addressed store, hash-verified

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.
41 GetTaskByID(ctx context.Context, taskID int) (*ent.Task, error)
42 // SetCompleteByID sets the task with the given ID to complete.

Callers 1

StartMethod · 0.65

Implementers 1

taskClientinventory/task.go

Calls

no outgoing calls

Tested by

no test coverage detected