Skip to main content

init_git_transports

Function init_git_transports 

Source
unsafe fn init_git_transports(gctx: &GlobalContext)
Expand description

Configure libgit2 to use libcurl if necessary.

If the user has a non-default network configuration, then libgit2 will be configured to use libcurl instead of the built-in networking support so that those configuration settings can be used.

ยงSafety

See git2_curl::register