| 49 | } |
| 50 | |
| 51 | type ttyWriter struct { |
| 52 | out io.Writer |
| 53 | ids []string // tasks ids ordered as first event appeared |
| 54 | tasks map[string]*task |
| 55 | repeated bool |
| 56 | numLines int |
| 57 | done chan bool |
| 58 | mtx *sync.Mutex |
| 59 | dryRun bool // FIXME(ndeloof) (re)implement support for dry-run |
| 60 | operation string |
| 61 | ticker *time.Ticker |
| 62 | suspended bool |
| 63 | info io.Writer |
| 64 | detached bool |
| 65 | } |
| 66 | |
| 67 | type task struct { |
| 68 | ID string |
nothing calls this directly
no outgoing calls
no test coverage detected