git_refspec_src_matches

Check if a refspec's source descriptor matches a reference

extern (C) nothrow @nogc
int
git_refspec_src_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