librelic::abs
pub fn find<T: AsRef<str>>(pkg: T) -> RelicResult<Repo>
Find the repo the given pkg lives in.
pkg
use librelic::prelude::*; assert_eq!(abs::find("pkgfile").unwrap(), abs::Repo::Packages);