[][src]Function librelic::abs::find

pub fn find<T: AsRef<str>>(pkg: T) -> RelicResult<Repo>

Find the repo the given pkg lives in.

Examples

use librelic::prelude::*;

assert_eq!(abs::find("pkgfile").unwrap(), abs::Repo::Packages);