Skip to main content

open_store

Function open_store 

Source
pub fn open_store(dest: &DestinationConfig) -> Result<GcsStore>
Expand description

Open the one [GcsStore] a load reuses for reconcile, URI listing, and post-gate cleanup — the single production constructor cli::dispatch calls.

pub (a public-API root the lib keeps alive) even though its only caller is the binary-only dispatch: it re-anchors GcsStore’s real-GCS constructor in the lib compilation unit, which no longer reaches it through a load adapter. #[allow(private_interfaces)] for the crate-private return — same rationale as reconcile::fetch_manifests_keyed.