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§
- Diff
Hunk - A contiguous region of changes with surrounding context.
- Diff
Line - A single line in the diff output.
- Diff
Summary - Summary statistics for a diff.
- Version
Diff - A line-level diff between two source texts.
Enums§
- Line
Kind - 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.