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

Function test_clone_bare_repository

test/test_repository.py:734–737  ·  view source on GitHub ↗
(barerepo: Repository, tmp_path: Path)

Source from the content-addressed store, hash-verified

732
733
734def test_clone_bare_repository(barerepo: Repository, tmp_path: Path) -> None:
735 repo = clone_repository(barerepo.path, tmp_path / 'clone', bare=True)
736 assert not repo.is_empty
737 assert repo.is_bare
738
739
740@utils.requires_network

Callers

nothing calls this directly

Calls 1

clone_repositoryFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…