Function alpm_sys::alpm_option_add_noupgrade
source · pub unsafe extern "C" fn alpm_option_add_noupgrade(
handle: *mut alpm_handle_t,
path: *const c_char
) -> c_int
Expand description
Add a file to the no-upgrade list @param handle the context handle @param path the path to add @return 0 on success, -1 on error (pm_errno is set accordingly)