pub async fn diff_summary( repo_dir: &Path, base: &Oid, head: &Oid, ) -> Result<DiffSummary, GitError>
Computes a structured per-file diff summary between base and head.
base
head