()
| 147 | } |
| 148 | |
| 149 | func (t *task) Completed() bool { |
| 150 | switch t.status { |
| 151 | case api.Done, api.Error, api.Warning: |
| 152 | return true |
| 153 | default: |
| 154 | return false |
| 155 | } |
| 156 | } |
| 157 | |
| 158 | func (w *ttyWriter) Start(ctx context.Context, operation string) { |
| 159 | w.ticker = time.NewTicker(100 * time.Millisecond) |
nothing calls this directly
no outgoing calls
no test coverage detected