Skip to main content

with_local_first

Function with_local_first 

Source
fn with_local_first(
    local: Option<String>,
    remote: Result<Vec<String>>,
) -> Result<Vec<String>>
Expand description

Lists a signature from the local cache first, followed by the other signatures found remotely. The cached signature alone is used when the remote lookup fails.