libgit2

git_remote_stop

Version:

Cancel the operation

At certain points in its operation, the network code checks whether the operation has been cancelled and if so stops the operation.

Signature

int git_remote_stop(git_remote *remote);

Parameters

In
remote

the remote

Returns

int

0 on success, or an error code

Versions