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

Function config

test/test_config.py:39–44  ·  view source on GitHub ↗
(testrepo: Repository)

Source from the content-addressed store, hash-verified

37
38@pytest.fixture
39def config(testrepo: Repository) -> Generator[object, None, None]:
40 yield testrepo.config
41 try:
42 Path(CONFIG_FILENAME).unlink()
43 except OSError:
44 pass
45
46
47def test_config(config: Config) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…