pub fn add_mirror(url: &str) -> Result<()>
Adds a new cache mirror URL.
Returns an error if the mirror cannot be added to the configuration.
This function does not explicitly panic.