[][src]Function alpm_sys::alpm_pkg_get_filename

pub unsafe extern "C" fn alpm_pkg_get_filename(
    pkg: *mut alpm_pkg_t
) -> *const c_char

Gets the name of the file from which the package was loaded. @param pkg a pointer to package @return a reference to an internal string