Settings
- class
pygit2.
Settings
Library-wide settings interface.
cacheobject_limit
(_object_type, value)- Set the maximum data size for the given type of object to be
- considered eligible for caching in memory.
Setting to value to zero means that that type of object will notbe cached. Defaults to 0 for GIT_OBJ_BLOB (i.e. won’t cacheblobs) and 4k for GIT_OBJ_COMMIT, GIT_OBJ_TREE, and GIT_OBJ_TAG.
Maximum mmap window size
Mwindow mapped limit
Maximum mmap window size
- Configuration file search path.
This behaves like an array whose indices correspond to theGITCONFIG_LEVEL* values. The local search path cannot bechanged.