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

Function test_head

test/test_repository_empty.py:37–39  ·  view source on GitHub ↗
(emptyrepo: Repository)

Source from the content-addressed store, hash-verified

35
36
37def test_head(emptyrepo: Repository) -> None:
38 assert emptyrepo.head_is_unborn
39 assert not emptyrepo.head_is_detached

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…