Expand description
Round-trip every ModelDiff variant through a pf_core::cas::BlobStore.
Wire format model.diff.v1: a single JSON blob containing a tagged
ModelDiff. We rely on serde_tagged semantics from the enum’s
#[serde(tag = "kind")] for the discriminator. Validation +
canonicalization happen on store; layout-version check happens on load.
Functions§
- load_
diff - Load a
ModelDiffpreviously written bystore_diff. - store_
diff - Validate, canonicalize, and persist a
ModelDiffintoblobs. Returns the digest of the resulting blob.