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

Function test_branches_is_head

test/test_branch.py:86–88  ·  view source on GitHub ↗
(testrepo: Repository)

Source from the content-addressed store, hash-verified

84
85
86def test_branches_is_head(testrepo: Repository) -> None:
87 branch = testrepo.branches.get('master')
88 assert branch.is_head()
89
90
91def test_branches_is_not_head(testrepo: Repository) -> None:

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…