pub type GitBranchDiffFn = fn(gitdir: &Path, mem: &str, ref_a: &str, ref_b: &str, config: &DiffConfig) -> Result<Diff, BackendError>;Expand description
Engine::diff dispatch for git-branch mounts. Walks the two refs
inside the workspace’s mem-repo gitdir, produces a per-entity
crate::ops::Diff. Refs are arbitrary gix::rev_parse_single
inputs — branch names, commit SHAs, tag names. Resolves each
independently so cross-branch (cross-mem) diffs work uniformly.