Skip to main content

verify

Function verify 

Source
pub fn verify(dir: &Path) -> Result<(), VerifyError>
Expand description

Recompute a bundle against its manifest. Action.

Reads manifest.json from dir, then for every entry re-hashes the file and recounts its rows. The first mismatch — a listed file that is missing, a different hash, or a different row count — is named and the check stops there.

§Errors

A VerifyError naming the first mismatch, or the manifest itself if it cannot be read.