Skip to main content

os_version_id

Function os_version_id 

Source
pub fn os_version_id() -> Option<GString>
Expand description

Get a word descibing the OS version, suitable for checking which version of the OS this greeter is running on. e.g. “16.04”

§Returns

a string (VERSION_ID variable from /etc/os-release) or None if not set.