TrackProgress should be called when a new object is being downloaded. src is the location the file is downloaded from. currentSize is the current size of the file in case it is a partial download. totalSize is the total size in bytes, size can be zero if the file size is not known. stream is the fil
(src string, currentSize, totalSize int64, stream io.ReadCloser)
| 23 | // download in progress ( stream ). |
| 24 | // When the download is finished, body shall be closed. |
| 25 | TrackProgress(src string, currentSize, totalSize int64, stream io.ReadCloser) (body io.ReadCloser) |
| 26 | } |
no outgoing calls
no test coverage detected