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

Function test_hide

test/test_revwalk.py:71–74  ·  view source on GitHub ↗
(testrepo: Repository)

Source from the content-addressed store, hash-verified

69
70
71def test_hide(testrepo: Repository) -> None:
72 walker = testrepo.walk(log[0], SortMode.TIME)
73 walker.hide('4ec4389a8068641da2d6578db0419484972284c8')
74 assert len(list(walker)) == 2
75
76
77def test_hide_prefix(testrepo: 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…