Skip to main content

attempt_latest

Function attempt_latest 

Source
async fn attempt_latest(client: &Client, direct: bool) -> ProbeOutcome
Expand description

Run one GET against the npm registry with the given client, classifying the result so the caller can decide whether a direct retry is worthwhile.