Skip to main content

Module diff

Module diff 

Source
Expand description

Git diff capture.

Shells out to git rather than linking libgit2 / gitoxide. Shelling out inherits the user’s config (rename detection, diff filters, pager-off) and avoids a heavy native dep — which matters for a CLI that’s expected to run on every developer machine.

Structs§

Diff
DiffHunk
FileDiff

Enums§

FileStatus

Functions§

git_diff
Capture the diff for root.