libgit2

git_blame_line_byindex

Version:

Gets the information about the line in the blame.

Signature

const git_blame_line *git_blame_line_byindex(git_blame *blame, size_t idx);

Parameters

In
blame

the blame structure to query

size_t
In
idx

the (1-based) line number

Returns

the blamed line, or NULL on error

Versions