[][src]Function whoami::distro

pub fn distro() -> String

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

Example: "Windows 10" or "Fedora 26 (Workstation Edition)"