git_refspec_rtransform

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

extern (C) nothrow @nogc
int
git_refspec_rtransform

Parameters

out_ libgit2_d.buffer.git_buf*

where to store the source reference 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