Skip to main content

Module status

Module status 

Source
Available on crate feature parse only.
Expand description

Parser for git status --porcelain=v1 -z.

Porcelain v1 is stable across git versions. Each entry is two status characters (XY) followed by a space, the path, and a NUL terminator. Renames and copies add a second NUL-terminated path.

Structs§

StatusEntry
A single parsed entry from git status --porcelain=v1 -z.

Enums§

StatusKind
Classification of a status character.

Functions§

parse_status
Parse the output of git status --porcelain=v1 -z.