blob: 77a29b20618f62b46f8c77d8457164bac43f91e7 (
plain)
1
2
3
4
5
6
7
8
9
10
|
use gentoo_utils::ebuild::repo::Repo;
#[test]
fn test_read_repo() {
let repo = Repo::new("/var/db/repos/gentoo");
for category in repo.categories().unwrap().map(|cat| cat.unwrap()) {
for _ in category.ebuilds().unwrap().map(|ebuild| ebuild.unwrap()) {}
}
}
|