use crate::syntax::MatchedPos; #[derive(Debug)] pub enum FileContent { Text(String), Binary(Vec), } #[derive(Debug)] pub struct DiffResult { pub path: String, pub language: Option, pub lhs_src: FileContent, pub rhs_src: FileContent, pub lhs_positions: Vec, pub rhs_positions: Vec, }