Function alpm_sys::alpm_sync_get_new_version[][src]

pub unsafe extern "C" fn alpm_sync_get_new_version(
    pkg: *mut alpm_pkg_t,
    dbs_sync: *mut alpm_list_t
) -> *mut alpm_pkg_t
Expand description

Check for new version of pkg in syncdbs.

If the same package appears multiple dbs only the first will be checked

This only checks the syncdb for a newer version. It does not access the network at all. See \link alpm_db_update \endlink to update a database.