git_refspec_transform

Transform a reference to its target following the refspec's rules

extern (C) nothrow @nogc
int
git_refspec_transform

Parameters

out_ libgit2_d.buffer.git_buf*

where to store the target name

spec const(libgit2_d.types.git_refspec)*

the refspec

name const(char)*

the name of the reference to transform

Return Value

Type: int

0, git_error_code.GIT_EBUFS or another error

Meta