Skip to main content

detect_os_id

Function detect_os_id 

Source
pub async fn detect_os_id() -> Result<String>
Expand description

Detect the current OS identifier using std::env::consts::OS and, on Linux, the ID= field from /etc/os-release.