pub trait GitProvider: Send + Sync {
// Required methods
fn diff_hunks(&self, from: &str, to: Option<&str>) -> Result<Vec<DiffHunk>>;
fn changed_files(&self, from: &str, to: &str) -> Result<Vec<PathBuf>>;
fn current_head(&self) -> Result<String>;
fn modified_files(&self) -> Result<Vec<PathBuf>>;
}Expand description
Git operations (diff, log, etc.).