Skip to content

Add a function to get easily normalized OS id

Marco Clemencic requested to merge 8-add-a-function-to-normalize-the-os-id into master

The new function LbPlatformUtils.os_id() returns the normalized name (an optional argument can be used for a fallback value if the id is not in the alias list).

To get the native detected OS id one can use the low level LbPlatformUtils.inspect.os_id().

Closes #8 (closed)

Edited by Marco Clemencic

Merge request reports

Loading