git_feature_t

Combinations of these values describe the features with which libgit2 was compiled

Values

ValueMeaning
GIT_FEATURE_THREADS1 << 0

If set, libgit2 was built thread-aware and can be safely used from multiple threads.

GIT_FEATURE_HTTPS1 << 1

If set, libgit2 was built with and linked against a TLS implementation. Custom TLS streams may still be added by the user to support HTTPS regardless of this.

GIT_FEATURE_SSH1 << 2

If set, libgit2 was built with and linked against libssh2. A custom transport may still be added by the user to support libssh2 regardless of this.

GIT_FEATURE_NSEC1 << 3

If set, libgit2 was built with support for sub-second resolution in file modification times.

Meta