git_refspec_dst_matches

Check if a refspec's destination descriptor matches a reference

extern (C) nothrow @nogc
int
git_refspec_dst_matches

Parameters

refspec const(libgit2_d.types.git_refspec)*

the refspec

refname const(char)*

the name of the reference to check

Return Value

Type: int

1 if the refspec matches, 0 otherwise

Meta