libappstream::functions

Function current_distro_component_id

source
pub fn current_distro_component_id() -> Option<GString>
Expand description

Returns the component-ID of the current distribution based on contents of the /etc/os-release file. This function is a shorthand for as_distro_details_get_cid