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

Function test_diff_revparse

test/test_diff.py:288–290  ·  view source on GitHub ↗
(barerepo: Repository)

Source from the content-addressed store, hash-verified

286
287
288def test_diff_revparse(barerepo: Repository) -> None:
289 diff = barerepo.diff('HEAD', 'HEAD~6')
290 assert type(diff) is pygit2.Diff
291
292
293def test_diff_tree_opts(barerepo: Repository) -> None:

Callers

nothing calls this directly

Calls 1

diffMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…