Skip to main content

add_cache_mirror

Function add_cache_mirror 

Source
pub fn add_cache_mirror(url: &str) -> Result<(), Error>
Expand description

Adds a cache mirror URL to the user-specific configuration.

ยงErrors

Returns an error if the mirror already exists or the configuration cannot be written.