Function package_catalog
pub fn package_catalog<'a>(
installed: &'a [PluginInfo],
registry: Option<&'a PluginRegistryIndex>,
) -> Vec<PluginCatalogEntry<'a>>Expand description
Merge installed packages with an optional registry index.
installed is the admitted view returned by PluginHost::list_plugins.
The result has one row per package name and is sorted by name. Registry
indexes may contain multiple versions of a package; resolved_entries
selects the same entry an unpinned install would use.