pub async fn download(releases: &str, agent_dir: &Path) -> Result<(), String>Expand description
Downloads this version’s docs from the release in releases into
<agent_dir>/docs, unless the docs there are this version’s. The archive
must match its published SHA-256. It is unpacked beside the old copy,
which it then replaces.