get_os_pretty_name

Function get_os_pretty_name 

Source
pub fn get_os_pretty_name() -> Result<String, Error>
Expand description

Gets the pretty name of the OS from /etc/os-release.

ยงErrors

Returns an error if /etc/os-release cannot be read.