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

Function test_hide_prefix

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

Source from the content-addressed store, hash-verified

75
76
77def test_hide_prefix(testrepo: Repository) -> None:
78 walker = testrepo.walk(log[0], SortMode.TIME)
79 walker.hide('4ec4389a')
80 assert len(list(walker)) == 2
81
82
83def test_reset(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…