mod engine; mod parser; pub mod testing; use std::path::PathBuf; pub use engine::{Engine, GitEngine}; #[derive(Debug, Clone)] #[cfg_attr(test, derive(serde::Serialize))] struct Pattern { pub name: Option, pub value: PathBuf, pub line: usize, } #[derive(Debug, Clone)] #[cfg_attr(test, derive(serde::Serialize))] struct IfChangedBlock { pub name: Option, pub range: (usize, usize), pub patterns: Vec, }