alpm_sys

Function alpm_option_remove_cachedir

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

Remove a cachedir from the configured cachedirs. @param handle the context handle @param cachedir the cachedir to remove @return 0 on success, -1 on error (pm_errno is set accordingly)