Skip to main content

Module layer_sync

Module layer_sync 

Source
Expand description

Reply types for the layer-sync methods of the org.composefs.Oci interface, gated behind the oci feature (they depend on [composefs_oci::layer_sync]).

The four layer-sync methods (GetInfo, HasLayer, GetLayer, PutLayer) are part of org.composefs.Oci; this module merely collects their reply structs to keep them separate from the rest of the OCI wire types.

Structsยง

FinalizeImageReply
Reply from FinalizeImage: digest and verity strings for the manifest and config splitstreams that were written (or already existed).
GetInfoReply
Reply from GetInfo: capability tokens supported by this service.
GetLayerReply
Reply from GetLayer: the number of diff-directory slots in the logical FD array.
HasLayerReply
Reply from HasLayer: whether the layer is present in the repository.
LayerRef
A single (diff_id, layer_verity) pair passed to FinalizeImage.
PutLayerReply
Reply from PutLayer: the verity hash of the imported layer, whether it was already present, and per-object transfer statistics.