MCPcopy Index your code
hub / github.com/apache/devlake / DefaultTaskContext

Struct DefaultTaskContext

backend/impls/context/default_task_context.go:32–37  ·  view source on GitHub ↗

DefaultTaskContext is TaskContext default implementation

Source from the content-addressed store, hash-verified

30
31// DefaultTaskContext is TaskContext default implementation
32type DefaultTaskContext struct {
33 *defaultExecContext
34 subtasks map[string]bool
35 subtaskCtxs map[string]*DefaultSubTaskContext
36 syncPolicy *models.SyncPolicy
37}
38
39// SetProgress FIXME ...
40func (c *DefaultTaskContext) SetProgress(current int, total int) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected