Skip to main content

verify

Function verify 

Source
pub fn verify(
    store: &Store,
    include_optional: bool,
    quick: bool,
) -> Result<VerifyReport>
Expand description

Check that every required asset (plus optional, under include_optional) is present locally and matches the manifest. quick = presence + size only (fast); otherwise a full SHA-256 re-hash. This is a SWEEP (O(asset bytes) in deep mode), never a loop op. complete is true iff nothing is missing or corrupt in the considered set.