pub fn public(registry: &str) -> Option<PublicRegistry>Expand description
Parse a host/tenant[/store] registry (scheme optional, trailing slash
tolerated) into its public read surface. Returns None for a bare-host
registry with no tenant segment — the caller then uses the legacy
{registry}/v1/pkg/… form.