libgit2

git_direction

Version:

Direction of the connection.

We need this because we need to know whether we should call git-upload-pack or git-receive-pack on the remote end when get_refs gets called.

Values

GIT_DIRECTION_FETCH
0
GIT_DIRECTION_PUSH
1

Returned By

Parameter To

Versions