Skip to main content

Module diff

Module diff 

Source
Expand description

Diff engine for comparing DNF configuration files and values.

Provides three diff functions and three result types:

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§

ConfigDiff
Field-level diff between two MainConfig values.
FileDiff
Result of comparing two entire .repo files.
RepoDiff
Per-repository field-level diff between two Repo values.

Functions§

diff_files
Compare two RepoFile values and produce a FileDiff.
diff_main
Compare two MainConfig values and produce a ConfigDiff.
diff_repos
Compare two Repo values and produce a RepoDiff.