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

Function test_reverse

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

Source from the content-addressed store, hash-verified

64
65
66def test_reverse(testrepo: Repository) -> None:
67 walker = testrepo.walk(log[0], SortMode.TIME | SortMode.REVERSE)
68 assert [x.id for x in walker] == list(reversed(log))
69
70
71def test_hide(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…