GitFeature enum

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

Inheritance
Available extensions

Values

threads → const GitFeature

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

const GitFeature(1)
https → const GitFeature

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.

const GitFeature(2)
ssh → const GitFeature

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.

const GitFeature(4)
nsec → const GitFeature

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

const GitFeature(8)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromValue(int value) GitFeature

Constants

values → const List<GitFeature>
A constant List of the values in this enum, in order of their declaration.