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

Function test_has_log

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

Source from the content-addressed store, hash-verified

127
128
129def test_has_log(repo: Repository) -> None:
130 assert repo.backend.has_log('refs/heads/master')
131 assert not repo.backend.has_log('refs/heads/does-not-exist')
132
133
134def test_ensure_log(repo: Repository) -> None:

Callers

nothing calls this directly

Calls 1

has_logMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…