Skip to main content

Module diff

Module diff 

Source
Expand description

Diff engine: cross-snapshot structural comparison

Takes two snapshot databases and produces a deterministic delta of all structural changes: files added/removed/modified, dependency edges added/removed, hotspot shifts, cycle changes, and threshold alerts.

Structs§

DiffSummary
EdgeDelta
A dependency edge change
FileDelta
A file that was added or removed
FileModDelta
A file that was modified between snapshots
HotspotDelta
A hotspot that changed fan-in
IslandDelta
Changes in disconnected components
ModuleMetricsDelta
Module-level metrics change
SnapshotDiff
Complete diff between two snapshots
ThresholdAlert
A threshold alert triggered by a metric crossing a boundary

Enums§

AlertSeverity

Functions§

compute_diff
Compute the diff between two snapshot databases