read repo_name when opening repos
This commit is contained in:
@@ -20,7 +20,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
|
||||
fs::create_dir_all(&corpus_dir)?;
|
||||
|
||||
let repo = Repo::new("/var/db/repos/gentoo");
|
||||
let repo = Repo::new("/var/db/repos/gentoo").expect("failed to open repo");
|
||||
let mut atoms = Vec::new();
|
||||
|
||||
for category in repo.categories()? {
|
||||
|
||||
Reference in New Issue
Block a user