Function alpm_sys::alpm_db_get_pkgcache
source · pub unsafe extern "C" fn alpm_db_get_pkgcache(
db: *mut alpm_db_t
) -> *mut alpm_list_t
Expand description
Get the package cache of a package database. This is a list of all packages the db contains. @param db pointer to the package database to get the package from @return the list of packages on success, NULL on error