Skip to main content

add_mirror

Function add_mirror 

Source
pub fn add_mirror(url: &str) -> Result<()>
Expand description

Adds a new cache mirror URL.

§Errors

Returns an error if the mirror cannot be added to the configuration.

§Panics

This function does not explicitly panic.