libgit2

git_transport_unregister

Version:

Unregister a custom transport definition which was previously registered with git_transport_register.

The caller is responsible for synchronizing calls to git_transport_register and git_transport_unregister with other calls to the library that instantiate transports.

Signature

int git_transport_unregister(const char *prefix);

Parameters

const char *
In
prefix

From the previous call to git_transport_register

Returns

int

0 or an error code

Versions