git_reference_has_log

Check if a reflog exists for the specified reference.

extern (C) nothrow @nogc
int
git_reference_has_log

Parameters

repo libgit2_d.types.git_repository*

the repository

refname const(char)*

the reference's name

Return Value

Type: int

0 when no reflog can be found, 1 when it exists; otherwise an error code.

Meta