Skip to main content

managed_platforms

Function managed_platforms 

Source
pub fn managed_platforms(
    fs: &dyn Filesystem,
    paths: &ConfigPaths,
) -> Result<Option<Vec<Platform>>>
Expand description

The explicit set of platforms the user has told cmx to manage, if any.

Returns Some(list) when config.platforms is non-empty (the authoritative managed set), or None when unset — signalling callers to fall back to their own default (every supported platform for doctor/uninstall; the in-use inference for install).