Skip to main content

ranked_source_candidates

Function ranked_source_candidates 

Source
pub async fn ranked_source_candidates(
    ctx: &Ctx,
    backend: &dyn Backend,
    sources: Vec<Source>,
) -> Result<Vec<Source>>
Expand description

Rank an already-filtered effective source set with the same pin, cache, offline, and live-probe policy as ranked_source_list. Backends use this when they must narrow candidates before any network probe, for example to keep private package names away from public registries.