git_blame_file

Get the blame for a single file.

extern (C) nothrow @nogc
int
git_blame_file

Parameters

out_ .git_blame**

pointer that will receive the blame object

repo libgit2_d.types.git_repository*

repository whose history is to be walked

path const(char)*

path to file to consider

options .git_blame_options*

options for the blame operation. If null, this is treated as though GIT_BLAME_OPTIONS_INIT were passed.

Return Value

Type: int

0 on success, or an error code. (use git_error_last for information about the error.)

Meta