Skip to main content

Module version_diff

Module version_diff 

Source
Expand description

Version Diff — line-based source diff between flow versions.

Compares source snapshots stored in the VersionRegistry to show what changed between two deployments of the same flow.

Uses a longest-common-subsequence (LCS) algorithm for line-level diffs, producing a unified-style output with context lines.

Structs§

DiffHunk
A contiguous region of changes with surrounding context.
DiffLine
A single line in the diff output.
DiffSummary
Summary statistics for a diff.
VersionDiff
A line-level diff between two source texts.

Enums§

LineKind
Kind of a diff line.

Functions§

diff_lines
Compute a line-level diff between two source strings.
diff_versions
Diff two versions of a flow from the registry.
make_hunks
Group diff lines into hunks with context.
print_version_diff
Print a version diff in human-readable unified format.