Crate havocompare
source ·Expand description
§Comparing folders and files by rules
Havocompare allows to compare folders (or to be more exact: the files inside the folders) following user definable rules.
A self contained html report is generated. To use it without the CLI, the main method is: compare_folders
.
Re-exports§
pub use csv::CSVCompareConfig;
Modules§
- comparison module for csv comparison
Structs§
- Represents a whole configuration file consisting of several comparison rules
- Plain text comparison config, also used for PDF
- Configuration options for the hash comparison module
- Image comparison config options
- configuration for the json compare module
- Representing a single comparison rule
Enums§
- Representing the comparison mode
- Top-Level Error class for all errors that can happen during havocompare-running
Functions§
- Use this to compare a single file against another file using a given rule
- The main function for comparing folders. It will parse a config file in yaml format, create a report in report_path and compare the folders nominal and actual.
- Use this function if you don’t want this crate to load and parse a config file but provide a custom rules struct yourself
- Create the jsonschema for the current configuration file format
- Try to load config yaml and check whether it is a valid one. Returns true if file can be loaded, otherwise false