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

Function __option

test/test_options.py:35–40  ·  view source on GitHub ↗
(getter: Option, setter: Option, value: object)

Source from the content-addressed store, hash-verified

33
34
35def __option(getter: Option, setter: Option, value: object) -> None:
36 old_value = option(getter)
37 option(setter, value)
38 assert value == option(getter)
39 # Reset to avoid side effects in later tests
40 option(setter, old_value)
41
42
43def __proxy(name: str, value: object) -> None:

Callers 6

test_mwindow_sizeFunction · 0.85
test_owner_validationFunction · 0.85
test_pack_max_objectsFunction · 0.85
test_windows_sharemodeFunction · 0.85
test_mwindow_file_limitFunction · 0.85

Calls 1

optionFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…