git_refspec_parse

Parse a given refspec string

extern (C) nothrow @nogc
int
git_refspec_parse

Parameters

refspec libgit2_d.types.git_refspec**

a pointer to hold the refspec handle

input const(char)*

the refspec string

is_fetch int

is this a refspec for a fetch

Return Value

Type: int

0 if the refspec string could be parsed, -1 otherwise

Meta