git_reflog_read

Read the reflog for the given reference

If there is no reflog file for the given reference yet, an empty reflog object will be returned.

The reflog must be freed manually by using git_reflog_free().

extern (C) nothrow @nogc
int
git_reflog_read

Parameters

out_ libgit2_d.types.git_reflog**

pointer to reflog

repo libgit2_d.types.git_repository*

the repostiory

name const(char)*

reference to look up

Return Value

Type: int

0 or an error code

Meta