pub fn alpm_with_conf(conf: &Config) -> Result<Alpm>
Expand description

Initiates and configures Alpm using a pacman config.

use pacmanconf::Config;
use alpm_utils::alpm_with_conf;

let conf = Config::new().unwrap();
let alpm = alpm_with_conf(&conf).unwrap();