pub async fn registry_index(
    root_dir: &Path,
    backend: Storage,
    registry: Arc<Registry>
) -> Result<()>