git_diff_status_char

Look up the single character abbreviation for a delta status code.

When you run git diff --name-status it uses single letter codes in the output such as 'A' for added, 'D' for deleted, 'M' for modified, etc. This function converts a git_delta_t value into these letters for your own purposes. git_delta_t.GIT_DELTA_UNTRACKED will return a space (i.e. ' ').

extern (C) nothrow @nogc
char
git_diff_status_char

Parameters

status .git_delta_t

The git_delta_t value to look up

Return Value

Type: char

The single character label for that code

Meta