Libgit2.features SyncExperimental

var result = Libgit2.features();
Returns  
Number A combination of GIT_FEATURE_* values.

Libgit2.init SyncExperimental

var result = Libgit2.init();
Returns  
Number the number of initializations of the library, or an error code.

Libgit2.opts SyncExperimental

var result = Libgit2.opts(option);
Parameters Type  
option Number Option key

| Returns | | | — | — | | Number | 0 on success, < 0 on failure |

Libgit2.shutdown SyncExperimental

var result = Libgit2.shutdown();
Returns  
Number the number of remaining initializations of the library, or an
error code.  

Libgit2.version SyncExperimental

Libgit2.version(major, minor, rev);
Parameters Type  
major Number Store the major version number
minor Number Store the minor version number
rev Number Store the revision (patch) number

Libgit2.OPT ENUM

Flag Value
Libgit2.OPT.GET_MWINDOW_SIZE 0
Libgit2.OPT.SET_MWINDOW_SIZE 1
Libgit2.OPT.GET_MWINDOW_MAPPED_LIMIT 2
Libgit2.OPT.SET_MWINDOW_MAPPED_LIMIT 3
Libgit2.OPT.GET_SEARCH_PATH 4
Libgit2.OPT.SET_SEARCH_PATH 5
Libgit2.OPT.SET_CACHE_OBJECT_LIMIT 6
Libgit2.OPT.SET_CACHE_MAX_SIZE 7
Libgit2.OPT.ENABLE_CACHING 8
Libgit2.OPT.GET_CACHED_MEMORY 9
Libgit2.OPT.GET_TEMPLATE_PATH 10
Libgit2.OPT.SET_TEMPLATE_PATH 11
Libgit2.OPT.SET_SSL_CERT_LOCATIONS 12
Libgit2.OPT.SET_USER_AGENT 13
Libgit2.OPT.ENABLE_STRICT_OBJECT_CREATION 14
Libgit2.OPT.ENABLE_STRICT_SYMBOLIC_REF_CREATION 15
Libgit2.OPT.SET_SSL_CIPHERS 16
Libgit2.OPT.GET_USER_AGENT 17