pub fn config(&self) -> CargoResult<RegistryConfig> {
        let contents = try!(paths::read(&self.checkout_path.join("config.json")));
        let config = try!(json::decode(&contents));
        Ok(config)
    }
/// Decode the configuration stored within the registry.
///
/// This requires that the index has been at least checked out.
Decode the configuration stored within the registry.
This requires that the index has been at least checked out.
Decode the configuration stored within the registry . This requires that the index has been at least checked out .
pub fn config(&self) -> CargoResult<RegistryConfig> {
        let contents = try!(paths::read(&self.checkout_path.join("config.json")));
        let config = try!(json::decode(&contents));
        Ok(config)
    }
pub fn config ( & self ) -> CargoResult < RegistryConfig > { let contents = try ! ( paths read ( self checkout_path join ( " " ) ) ) ; let config = try ! ( json decode ( contents ) ) ; Ok ( config ) }
Decode the configuration stored within the registry.
Decode the configuration stored within the registry .
&self
&self