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

Function repo

test/test_diff_binary.py:39–41  ·  view source on GitHub ↗
(tmp_path: Path)

Source from the content-addressed store, hash-verified

37
38@pytest.fixture
39def repo(tmp_path: Path) -> Generator[Repository, None, None]:
40 with utils.TemporaryRepository('binaryfilerepo.zip', tmp_path) as path:
41 yield pygit2.Repository(path)
42
43
44PATCH_BINARY = """diff --git a/binary_file b/binary_file

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…