Skip to main content

set_registry

Function set_registry 

Source
pub fn set_registry(url_or_keyword: &str) -> Result<()>
Expand description

Set the default registry URL or use a pre-defined keyword.

ยงErrors

Returns an error if the configuration cannot be updated.