pub mod collision;
pub mod crc32;
pub mod entropy;
pub mod entry;
pub mod findings;
pub mod guid;
pub mod header;
pub mod mbr;
pub mod sha256;
mod analyse;
pub use analyse::{analyse, analyse_with_options, AnalyseOptions};
pub use entry::GptEntry;
pub use findings::{Anomaly, AnomalyKind, GptAnalysis, Location, Severity};
pub use guid::Guid;
pub use header::GptHeader;
#[derive(Debug, thiserror::Error)]
pub enum Error {
#[error("invalid GPT header signature")]
BadSignature,
#[error("buffer too short: need {need} bytes, got {got}")]
TooShort { need: usize, got: usize },
#[error("I/O error: {0}")]
Io(#[from] std::io::Error),
}