pub fn pkg_cache_find_name(
cache: &UniquePtr<PkgCacheFile>,
name: String
) -> Result<PackagePtr, Exception>Expand description
Return a package by name. Ptr will be NULL if the package doesn’t exist.
pub fn pkg_cache_find_name(
cache: &UniquePtr<PkgCacheFile>,
name: String
) -> Result<PackagePtr, Exception>Return a package by name. Ptr will be NULL if the package doesn’t exist.