Expand description
OCI image-layout directory mechanics. Knows files and blobs, not components.
Functionsยง
- blob_
path - Path to a blob given its hex digest (no
sha256:prefix). - blobs_
dir - has_
blob - index_
path - init
- Create the layout skeleton. Idempotent.
- oci_
layout_ path - read_
blob - sha256_
hex - Lowercase hex of the sha256 of
bytes. - write_
blob - Write
bytesas a blob; returns its hex digest. Atomic (temp + rename); a no-op if the blob already exists (content-addressed dedup).