Skip to main content

verify

Function verify 

Source
pub async fn verify(capture: &str, archive: &ArchiveArgs) -> OperationReport<()>
Expand description

Re-read a capture and check every artifact against its recorded digest.

§Errors

The report result returns BackupError::Integrity when an artifact’s bytes are not the bytes the manifest recorded, and the archive’s own error when the capture cannot be read at all.