Expand description
Diff engine for comparing DNF configuration files and values.
Provides three diff functions and three result types:
diff_files— compares two completeRepoFilevalues, reporting added, removed, and modified repos plus anyMainConfigchanges.diff_repos— compares two individualRepovalues field by field.diff_main— compares twoMainConfigvalues field by field.
Each diff reports three categories of changes: added (field present in B but not in A), removed (field present in A but not in B), and changed (field differs between A and B, showing both old and new values).
Structs§
- Config
Diff - Field-level diff between two
MainConfigvalues. - File
Diff - Result of comparing two entire
.repofiles. - Repo
Diff - Per-repository field-level diff between two
Repovalues.
Functions§
- diff_
files - Compare two
RepoFilevalues and produce aFileDiff. - diff_
main - Compare two
MainConfigvalues and produce aConfigDiff. - diff_
repos - Compare two
Repovalues and produce aRepoDiff.