pub fn fetch_bundle_uri_to_local(reference: &str) -> Result<PathBuf, OpError>Expand description
Fetch the .gtbundle archive at reference to a local cache file and return
its path.
The returned path lives in the distributor’s content-addressed cache; the
caller copies it into the env’s revision directory during staging, so there
is nothing to clean up here. The returned file is the raw archive — the
caller owns the digest gate against the manifest’s bundle_digest.
Only oci://host/repo:tag / oci://host/repo@sha256:… references are
supported; any other scheme is OpError::NotYetImplemented.