alpm_sys

Function alpm_option_match_noupgrade

Source
pub unsafe extern "C" fn alpm_option_match_noupgrade(
    handle: *mut alpm_handle_t,
    path: *const c_char,
) -> c_int
Expand description

Test if a path matches any of the globs in the no-upgrade list @param handle the context handle @param path the path to test @return 0 is the path matches a glob, negative if there is no match and positive is the match was inverted