/// pub mod init; mod find; /// #[cfg(not(feature = "wasm"))] pub mod write; /// pub mod verify { use std::sync::atomic::AtomicBool; use gix_features::progress::Progress; /// pub mod integrity { /// Returned by [`Bundle::verify_integrity()`][crate::Bundle::verify_integrity()]. pub struct Outcome
{
/// The computed checksum of the index which matched the stored one.
pub actual_index_checksum: gix_hash::ObjectId,
/// The packs traversal outcome
pub pack_traverse_outcome: crate::index::traverse::Statistics,
/// The provided progress instance.
pub progress: P,
}
}
use crate::Bundle;
impl Bundle {
/// Similar to [`crate::index::File::verify_integrity()`] but more convenient to call as the presence of the
/// pack file is a given.
pub fn verify_integrity