DIPH5 comparison
-
enum class snt::dip::DifferenceKind
Values:
-
enumerator Added
-
enumerator Removed
-
enumerator Changed
-
enumerator Added
-
ComparisonResult snt::dip::compare(const Environment &before, const Environment &after, const ComparisonOptions &options = {})
Compare loaded evaluated environments without modifying them.
-
ComparisonResult snt::dip::compare_diph5(const std::filesystem::path &before, const std::filesystem::path &after, const ComparisonOptions &options = {})
Load and compare two DIPH5 snapshots.
-
std::string snt::dip::render_comparison(const ComparisonResult &result, std::size_t max_details = 50)
Render a bounded plain-text summary, shared by the language interfaces.
-
class Comparison
- #include <comparison.h>
An owned comparison that can be inspected and rendered repeatedly. File construction loads and compares both DIPH5 snapshots once.
-
struct ComparisonOptions
- #include <comparison.h>
-
struct ComparisonResult
- #include <comparison.h>
Public Members
-
std::vector<Difference> differences
Sorted by category and path.
-
std::vector<Difference> differences
-
struct Difference
- #include <comparison.h>
One changed value or, in full scope, one changed manifest entry.