search_packages

Function search_packages 

Source
pub(crate) fn search_packages(query: &str) -> Result<Vec<CatalogPackage>>
Expand description

Search the shared catalog connection and return catalog results for the query.

This is the app-facing search entry point used by callers that do not already have a catalog connection open. Higher layers can map database failures into user-facing errors if they need a narrower error type.