libgit2

git_remote_connected

Version:

Check whether the remote is connected

Check whether the remote's underlying transport is connected to the remote host.

Signature

int git_remote_connected(git_remote *remote);

Parameters

In
remote

the remote

Returns

int

1 if it's connected, 0 otherwise.

Versions