Skip to main content

Module diff

Module diff 

Source
Available on crate feature parse only.
Expand description

Parser for git diff --name-status -z.

Each entry is a single status character followed by a tab and the path, all NUL-terminated. Renames/copies include a numeric similarity index (e.g. R100) and a second path following another NUL.

Structs§

DiffEntry
One parsed entry from git diff --name-status -z.

Enums§

DiffKind
Classification of a diff entry.

Functions§

parse_diff_name_status
Parse the output of git diff --name-status -z.