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

Function test_exists

test/test_refdb_backend.py:87–89  ·  view source on GitHub ↗
(repo: Repository)

Source from the content-addressed store, hash-verified

85
86
87def test_exists(repo: Repository) -> None:
88 assert not repo.backend.exists('refs/heads/does-not-exist')
89 assert repo.backend.exists('refs/heads/master')
90
91
92def test_lookup(repo: Repository) -> None:

Callers

nothing calls this directly

Calls 1

existsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…