pub unsafe extern "C" fn alpm_pkg_get_version(
pkg: *mut alpm_pkg_t,
) -> *const c_char
Expand description
Returns the package version as a string. This includes all available epoch, version, and pkgrel components. Use alpm_pkg_vercmp() to compare version strings if necessary. @param pkg a pointer to package @return a reference to an internal string