Function whoami::distro

source ·
pub fn distro() -> String
Expand description

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

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