pub(crate) fn verify_identical(
original: &Archive,
rewritten: &Archive,
) -> Result<()>Expand description
Checks that two archives hold exactly the same rows and metadata.
Timestamps must be equal in order. Values are compared by their bit patterns
(f64::to_bits), so a NaN matches only an identical NaN and 0.0 does not match
-0.0. Key-value metadata must match key by key and value by value, in order.
§Arguments
original- Archive read from the original file.rewritten- Archive read back from the rewritten copy.
§Errors
Returns an error naming the first part that differs: timestamps, values or key-value metadata.