alpm_sys

Function 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.