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

Function test_enable_caching

test/test_options.py:88–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86
87
88def test_enable_caching() -> None:
89 pygit2.settings.enable_caching(False)
90 pygit2.settings.enable_caching(True)
91 # Lower level API
92 option(Option.ENABLE_CACHING, False)
93 option(Option.ENABLE_CACHING, True)
94
95
96def test_disable_pack_keep_file_checks() -> None:

Callers

nothing calls this directly

Calls 2

optionFunction · 0.90
enable_cachingMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…