git_reference_cmp

Compare two references.

extern (C) nothrow @nogc
int
git_reference_cmp

Parameters

ref1 const(libgit2_d.types.git_reference)*

The first git_reference

ref2 const(libgit2_d.types.git_reference)*

The second git_reference

Return Value

Type: int

0 if the same, else a stable but meaningless ordering.

Meta