libgit2

git_libgit2_capabilities

Version:

Query compile time options for libgit2.

  • GIT_CAP_THREADS Libgit2 was compiled with thread support. Note that thread support is still to be seen as a 'work in progress' - basic object lookups are believed to be threadsafe, but other operations may not be.
  • GIT_CAP_HTTPS Libgit2 supports the https:// protocol. This requires the openssl library to be found when compiling libgit2.

Signature

int git_libgit2_capabilities();

Returns

int

A combination of GIT_CAP_* values.

Versions