* * SPDX-FileCopyrightText: 2004,2005,2007,2009,2025,2026 Colin Phipps * * SPDX-License-Identifier: Artistic-2.0 */ AI: parts from copilot / Raptor mini conversion of zsync's main.c, but with considerable simplifcation compared to the original client: no longer putting multipl
| 25 | // Callers may provide an *http.Client directly (it implements Do) or a |
| 26 | // wrapper that implements Do to provide authentication or headers. |
| 27 | type HTTPRequester interface { |
| 28 | Do(req *http.Request) (*http.Response, error) |
| 29 | } |
| 30 | |
| 31 | // FetchEvent represents the type of a progress event from FetchRemainingBlocks |
| 32 | type FetchEvent int |
no outgoing calls
no test coverage detected