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
Libgit2.OPT.ENABLE_OFS_DELTA 18
Libgit2.OPT.ENABLE_FSYNC_GITDIR 19
Libgit2.OPT.GET_WINDOWS_SHAREMODE 20
Libgit2.OPT.SET_WINDOWS_SHAREMODE 21
Libgit2.OPT.ENABLE_STRICT_HASH_VERIFICATION 22
Libgit2.OPT.SET_ALLOCATOR 23
Libgit2.OPT.ENABLE_UNSAVED_INDEX_SAFETY 24
Libgit2.OPT.GET_PACK_MAX_OBJECTS 25
Libgit2.OPT.SET_PACK_MAX_OBJECTS 26
Libgit2.OPT.DISABLE_PACK_KEEP_FILE_CHECKS 27