git_refspec_rtransform

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

extern (C) nothrow @nogc public
int
git_refspec_rtransform

Parameters

out_ libgit2.buffer.git_buf*

where to store the source reference name

spec const(libgit2.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