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