Skip to main content

distro_id

Function distro_id 

Source
pub fn distro_id() -> &'static str
Expand description

The distribution’s lowercase id on Linux (ubuntu, fedora, arch), and the operating system’s elsewhere (windows, macos, android, ios).