Expand description
Diff/patch format export for config changes.
Structs§
- Diff
Entry - A single diff entry (changed line).
- Diff
Export - A diff between two text files.
Enums§
- DiffOp
- Diff operation type.
Functions§
- addition_
count - Count of additions.
- changed_
line_ count - Total changed lines (add + remove).
- compute_
diff - Compute a simple line-by-line diff between two strings.
- export_
diff_ unified - Serialize diff to unified diff format string.
- is_
identical - Whether the two texts are identical (no changes).
- removal_
count - Count of removals.