pub unsafe extern "C" fn alpm_option_add_cachedir(
handle: *mut alpm_handle_t,
cachedir: *const c_char,
) -> c_int
Expand description
Append a cachedir to the configured cachedirs. @param handle the context handle @param cachedir the cachedir to add @return 0 on success, -1 on error (pm_errno is set accordingly)