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

Method SetCompleteByID

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

SetCompleteByID sets the task with the given ID to complete.

(ctx context.Context, taskID int)

Source from the content-addressed store, hash-verified

41 GetTaskByID(ctx context.Context, taskID int) (*ent.Task, error)
42 // SetCompleteByID sets the task with the given ID to complete.
43 SetCompleteByID(ctx context.Context, taskID int) error
44 // List returns a list of tasks with the given args.
45 List(ctx context.Context, args *ListTaskArgs) (*ListTaskResult, error)
46 // DeleteByIDs deletes the tasks with the given IDs.

Callers 1

CompleteUploadMethod · 0.65

Implementers 1

taskClientinventory/task.go

Calls

no outgoing calls

Tested by

no test coverage detected