Function alpm_sys::alpm_pkg_get_reason
source · pub unsafe extern "C" fn alpm_pkg_get_reason(
pkg: *mut alpm_pkg_t
) -> alpm_pkgreason_t
Expand description
Returns the package installation reason. @param pkg a pointer to package @return an enum member giving the install reason.