use std::io::Result; use portage::repository::RepoConfig; fn main() -> Result<()> { // the repo configuration let mut repos = RepoConfig::new()?; // read the config repos.read_config()?; // print repo config repos.print_repos()?; Ok(()) }