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

Function test_reset

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

Source from the content-addressed store, hash-verified

81
82
83def test_reset(testrepo: Repository) -> None:
84 walker = testrepo.walk(log[0], SortMode.TIME)
85 walker.reset()
86 assert list(walker) == []
87
88
89def test_push(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…