Function alpm_sys::alpm_pkg_get_size
source · pub unsafe extern "C" fn alpm_pkg_get_size(
pkg: *mut alpm_pkg_t
) -> off_t
Expand description
Returns the size of the package. This is only available for sync database packages and package files, not those loaded from the local database. @param pkg a pointer to package @return the size of the package in bytes.