Skip to main content

is_append_compatible

Function is_append_compatible 

Source
pub fn is_append_compatible(
    older: &LayoutManifest,
    newer: &LayoutManifest,
) -> bool
Expand description

Check if two layout manifests are append-compatible.

Returns true if newer is a strict superset of older:

  • Same discriminator
  • newer.version > older.version
  • newer.total_size >= older.total_size
  • Different layout IDs (proving the change)