Enum cargo_reg::config_location::ConfigLocation
[−]
[src]
pub enum ConfigLocation { Global, Local, System, }
Location of config which operate on
Variants
Global
$CARGO_HOME/config
Local
$PWD/.cargo/config
System
All the fields from global and local
Methods
impl ConfigLocation
[src]
pub fn new(global: bool, local: bool) -> Result<ConfigLocation, Error>
[src]
Construct ConfigLocation
based on flags given from CLI