pub fn pkg_cache_find_name_arch(
    cache: &UniquePtr<PkgCacheFile>,
    name: String,
    arch: String
) -> Result<PackagePtr, Exception>
Expand description

Return a package by name and architecture. Ptr will be NULL if the package doesn’t exist.