sys_info

Function linux_os_release

Source
pub fn linux_os_release() -> Result<LinuxOSReleaseInfo, Error>
Expand description

Get the os release note of Linux

Information in /etc/os-release, such as name and version of distribution.

See LinuxOSReleaseInfo for more documentation.