for a non-seekable Stream, if Read is called, this function won't work. caches the full Stream and writes it to writer (if provided, even if the stream is already cached).
(up *UpdateProgress, writer io.Writer)
| 48 | // for a non-seekable Stream, if Read is called, this function won't work. |
| 49 | // caches the full Stream and writes it to writer (if provided, even if the stream is already cached). |
| 50 | CacheFullAndWriter(up *UpdateProgress, writer io.Writer) (File, error) |
| 51 | // if the Stream is not a File and is not cached, returns nil. |
| 52 | GetFile() File |
| 53 | } |
no outgoing calls
no test coverage detected