Skip to main content

try_compare_bitwise_info_v1

Function try_compare_bitwise_info_v1 

Source
pub fn try_compare_bitwise_info_v1(
    file_a: &Path,
    file_b: &Path,
    side_labels: ComparisonSideLabels,
) -> Result<LogDiffSummary>
Expand description

Compare two current Hermit logs under the canonical BitwiseInfoV1 policy.

Callers provide only the two inputs, their reader-facing labels, and diagnostic-output settings. They cannot weaken record selection or normalization. The fixed policy compares every INFO record, requires current structured DETLOG events, canonicalizes only explicitly marked host addresses to first-appearance ordinals, and otherwise compares the selected messages exactly.