Function whoami::distro_os

source ·
pub fn distro_os() -> OsString
Expand description

Get the name of the operating system distribution and (possibly) version.

Example: “Windows 10” or “Fedora 26 (Workstation Edition)”