Expand description
Shared download helpers reused across sources: streaming a response body to disk with hash verification, retry/backoff, and parent-directory setup.
Constants§
Functions§
- ensure_
parent - Ensure parent directory exists.
- simple_
download - Simple download: GET, stream to file, verify hash, return
VerifiedFile. - stream_
to_ file - Stream a response body to a file, reporting progress.
- stream_
to_ file_ verified - Stream a response body to a file and verify Wabbajack-compatible hashes while bytes are still hot in memory.
- verify_
and_ wrap - Verify hash (xxh64 then xxh3 fallback) and return a
VerifiedFile. - with_
retry - Execute an async operation with exponential backoff retries.