Function alpm_sys::alpm_db_get_group[][src]

pub unsafe extern "C" fn alpm_db_get_group(
    db: *mut alpm_db_t,
    name: *const c_char
) -> *mut alpm_group_t
Expand description

Get a group entry from a package database. Looking up a group is O(1) and will be significantly faster than iterating over the groupcahe. @param db pointer to the package database to get the group from @param name of the group @return the groups entry on success, NULL on error