Module platform

Module platform 

Source
Expand description

Platform association, operating system compatibility matching, and environment prior scoring for format detection.

Functions§

current_platform_os
Infers the host platform operating system as an authoritative FormatId.
format_matches_platform
Checks whether a candidate format has recorded OS associations compatible with the specified target operating system.
is_os_match
Determines whether a format’s associated operating system is compatible with a target operating system context.