Skip to main content

Module parse_diff

Module parse_diff 

Source

Structs§

ParsedFileDiff
Preamble lines (git diff --git, index, etc.) plus ---/+++ headers and the hunks that follow, for one file in the input diff.
ParsedHunk
ParsedMutation
Old and new lines with leader stripped.

Enums§

ParsedHunkItem

Functions§

parse
Parse a diff from pre-ANSI-stripped bytes, returning a structure that borrows slices directly from input.

Type Aliases§

ParsedDiff