git_refspec_direction

Get the refspec's direction.

extern (C) nothrow @nogc public
git_refspec_direction

Parameters

spec const(libgit2.types.git_refspec)*

refspec

Return Value

Type: libgit2.net.git_direction

git_direction.GIT_DIRECTION_FETCH or git_direction.GIT_DIRECTION_PUSH

Meta