Skip to main content

scrape_latest

Function scrape_latest 

Source
pub fn scrape_latest(platform: Platform) -> Result<PinnedRelease, Error>
Expand description

Fetches the public releases page and returns the newest PinnedRelease that has a Java download for platform.

The returned PinnedRelease has an empty SHA-256 map — scraping only recovers the version + build id, never a digest.

§Errors