Skip to main content

read_marketplace_registry

Function read_marketplace_registry 

Source
fn read_marketplace_registry(
    marketplaces_root: &Path,
) -> (KnownMarketplaces, Option<String>)
Expand description

The CLI’s marketplace registry (known_marketplaces.json beside the clones), read once for both the source entries and the health. A corrupt OR unreadable registry reads empty with its error carried back - the health rows must name it, not render the tab as an absence. Missing is the expected fresh-install case and stays silent.