Skip to main content

os_pretty_name

Function os_pretty_name 

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

Get a line of text describing the OS, suitable for presentation to the user. e.g. “Ubuntu 16.04.1 LTS”

§Returns

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