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

Function test_revparse_single

test/test_repository_bare.py:188–190  ·  view source on GitHub ↗
(barerepo: Repository)

Source from the content-addressed store, hash-verified

186
187
188def test_revparse_single(barerepo: Repository) -> None:
189 parent = barerepo.revparse_single('HEAD^')
190 assert parent.id == PARENT_SHA
191
192
193def test_hash(barerepo: Repository) -> 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…