Skip to content
ocx
install

BlobSummary

BlobSummaryclassdataclass#

Re-exported from ocx_sdk._resultsView source
class BlobSummary(present: int, mounted: int, uploaded: int)

Blob transfer counts for one copy (C-015, package_copy.rs:140-147).

Not push’s layers — that is a different struct (LayerCounts, oci/client.rs:75-84) with a different field set, {mounted, uploaded, verified}. Copy tracks transfer method including blobs that needed no transfer at all; push tracks mount/upload/verify- by-digest. Reusing push’s shape here would look for a verified key that copy never sends and silently drop present — the D7 failure class this module exists to avoid.

Attributes

NameTypeDescription
presentintBlobs already present at the target — no transfer needed.
mountedintBlobs mounted from another repository without a re-upload.
uploadedintBlobs actually transferred.

mountedattributeinstance attribute#

mounted: int

presentattributeinstance attribute#

present: int

uploadedattributeinstance attribute#

uploaded: int

from_dictmethodclassmethod#

def from_dict(data: Mapping[str, Any]) -> BlobSummary

Build from the decoded blobs object.