is_os_match

Function is_os_match 

pub fn is_os_match(candidate_os: FormatId, target_os: FormatId) -> bool
Expand description

Determines whether a format’s associated operating system is compatible with a target operating system context.

Uses format implication hierarchies declared via @implies(...) directives in the format database. A candidate OS matches a target OS if they are identical or if either directly or transitively implies the other.