Skip to main content

host_distributions

Function host_distributions 

Source
pub fn host_distributions() -> Vec<String>
Expand description

This host’s distribution IDs, most specific first: os-release’s ID, then each word of its ID_LIKE, read from /etc/os-release, else /usr/lib/os-release. Empty when neither reads.