Skip to main content

diff_snapshots

Function diff_snapshots 

Source
pub async fn diff_snapshots(
    root_uri: &str,
    from: &Snapshot,
    to: &Snapshot,
    filter: &ChangeFilter,
    branch: Option<String>,
) -> Result<ChangeSet>
Expand description

Net-current diff between two snapshots.

Uses a three-level algorithm:

  1. Manifest diff — skip unchanged sub-tables
  2. Lineage check — same branch → version-column diff; different → ID-based diff
  3. Row-level diff