MCPcopy Create free account
hub / github.com/libgit2/pygit2 / option

Function option

pygit2/options.py:109–115  ·  view source on GitHub ↗
(
    option_type: Literal[
        Option.GET_MWINDOW_SIZE,
        Option.GET_MWINDOW_MAPPED_LIMIT,
        Option.GET_MWINDOW_FILE_LIMIT,
    ],
)

Source from the content-addressed store, hash-verified

107
108@overload
109def option(
110 option_type: Literal[
111 Option.GET_MWINDOW_SIZE,
112 Option.GET_MWINDOW_MAPPED_LIMIT,
113 Option.GET_MWINDOW_FILE_LIMIT,
114 ],
115) -> int: ...
116
117
118@overload

Callers 15

__optionFunction · 0.90
test_cache_object_limitFunction · 0.90
test_cached_memoryFunction · 0.90
test_enable_cachingFunction · 0.90
test_search_pathFunction · 0.90
test_template_pathFunction · 0.90
test_user_agentFunction · 0.90
test_ssl_ciphersFunction · 0.90
test_odb_prioritiesFunction · 0.90
test_extensionsFunction · 0.90

Calls 5

check_argsFunction · 0.85
check_errorFunction · 0.85
to_strFunction · 0.85
to_bytesFunction · 0.85
stringMethod · 0.80

Tested by 15

__optionFunction · 0.72
test_cache_object_limitFunction · 0.72
test_cached_memoryFunction · 0.72
test_enable_cachingFunction · 0.72
test_search_pathFunction · 0.72
test_template_pathFunction · 0.72
test_user_agentFunction · 0.72
test_ssl_ciphersFunction · 0.72
test_odb_prioritiesFunction · 0.72
test_extensionsFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…