Function alpm_sys::alpm_pkg_checkmd5sum
source · pub unsafe extern "C" fn alpm_pkg_checkmd5sum(
pkg: *mut alpm_pkg_t
) -> c_int
Expand description
Check the integrity (with md5) of a package from the sync cache. @param pkg package pointer @return 0 on success, -1 on error (pm_errno is set accordingly)