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

Function clone

test/test_remote.py:380–384  ·  view source on GitHub ↗
(tmp_path: Path)

Source from the content-addressed store, hash-verified

378
379@pytest.fixture
380def clone(tmp_path: Path) -> Generator[Repository, None, None]:
381 clone = tmp_path / 'clone'
382 clone.mkdir()
383 with utils.TemporaryRepository('barerepo.zip', clone) as path:
384 yield pygit2.Repository(path)
385
386
387@pytest.fixture

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…