refresh_catalog

Function refresh_catalog 

Source
pub fn refresh_catalog<FStart, FProgress>(
    paths: &ResolvedPaths,
    on_start: FStart,
    on_progress: FProgress,
) -> Result<()>
where FStart: FnOnce(Option<u64>), FProgress: FnMut(u64),
Expand description

Refreshes the local catalog using the default update API endpoint.

This is the production entry point used by the CLI. It delegates to the injected-URL helper so tests can exercise the same workflow against a mock server.