Struct git2::Version [−][src]
pub struct Version { /* fields omitted */ }
Expand description
Version information about libgit2 and the capabilities it supports.
Implementations
Returns the version of libgit2.
The return value is a tuple of (major, minor, rev)
Returns the version of the libgit2-sys crate.
Returns true if this was built with the vendored version of libgit2.
Returns true if libgit2 was built thread-aware and can be safely used from multiple threads.
Returns true if 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.
Returns true if libgit2 was built with and linked against libssh2.
A custom transport may still be added by the user to support libssh2 regardless of this.