(item *Extract)
| 47 | } |
| 48 | |
| 49 | func (u *Unpackerr) progressUpdateCallback(item *Extract) func(xtractr.Progress) { |
| 50 | return func(prog xtractr.Progress) { // sends update to u.handleProgress() (below) |
| 51 | u.progChan <- &ExtractProgress{Progress: &prog, Extract: item} |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | // exp = what just came in, it's ephemeral. |
| 56 | // exp.Progress = also what just came in, must set it here. |
no outgoing calls
no test coverage detected