pub unsafe extern "C" fn alpm_db_get_valid(
db: *mut alpm_db_t,
) -> c_int
Expand description
Check the validity of a database. This is most useful for sync databases and verifying signature status. If invalid, the handle error code will be set accordingly. @param db pointer to the package database @return 0 if valid, -1 if invalid (pm_errno is set accordingly)