git_refspec_direction

Get the refspec's direction.

extern (C) nothrow @nogc
git_refspec_direction

Parameters

spec const(libgit2_d.types.git_refspec)*

refspec

Return Value

Type: libgit2_d.net.git_direction

git_direction.GIT_DIRECTION_FETCH or git_direction.GIT_DIRECTION_PUSH

Meta