Skip to main content

entry_download

Function entry_download 

Source
pub async fn entry_download(
    service_name: String,
    entry_id: usize,
    pool: &State<DbPool>,
) -> Result<EntryDownload, NotFound<String>>
Expand description

GET twin of entry_fetch for plain downloadable links (browser-native <a download>), used by the run-diff “Task severity changes” table to offer each entry’s source archive without the jQuery/AJAX entry-submit downloader. Reuses serve_entry; same 404-not-500 discipline on an unknown task or a missing/unreadable archive.