[][src]Function alpm_sys_fork::alpm_pkg_get_size

pub unsafe extern "C" fn alpm_pkg_get_size(pkg: *mut alpm_pkg_t) -> off_t

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.