Skip to main content

Module snapshot_diff

Module snapshot_diff 

Source
Expand description

Storage snapshot diff — computes and represents differences between two point-in-time storage snapshots.

Enables incremental sync, changelog generation, and rollback planning by identifying which content-addressed entries were added, removed, modified, or left unchanged between an old and a new snapshot.

Structs§

DiffEntry
A single diff record comparing one CID across two snapshots.
DiffStats
Cumulative statistics gathered across all diff operations performed by a StorageSnapshotDiff instance.
SnapshotDiffResult
The complete result of comparing two snapshots.
SnapshotEntry
A single content-addressed entry recorded in a storage snapshot.
StorageSnapshotDiff
Computes and represents differences between storage snapshots.

Enums§

DiffKind
Describes how a content-addressed entry changed between two snapshots.