Expand description
Semantic diff between two git refs at the symbol level.
Instead of a line diff, this compares the extracted symbol graphs of two
git tree-states and classifies each change as Added / Removed / BodyChanged /
SignatureChanged. The caller supplies a project root and two git refs
(e.g. “HEAD~1”, “main”); the module checks out each ref into a temp
worktree, indexes it with the current language registry, and returns a
structured SymbolDiff.
Structs§
- Symbol
Change - A single symbol-level change.
- Symbol
Diff - Full semantic diff result.
Enums§
- Change
Kind - How a symbol changed between two refs.
Functions§
- format_
diff - semantic_
diff - Compute a symbol-level diff between
old_refandnew_refinproject_root.