repository configuration reader

This commit is contained in:
neo_1993
2026-09-03 18:15:55 +02:00
parent 0e732deb66
commit 3fcfba2588
5 changed files with 461 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
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(())
}