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

Function test_ensure_log

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

Source from the content-addressed store, hash-verified

132
133
134def test_ensure_log(repo: Repository) -> None:
135 assert not repo.backend.has_log('refs/heads/new-log')
136 repo.backend.ensure_log('refs/heads/new-log')
137 assert repo.backend.has_log('refs/heads/new-log')

Callers

nothing calls this directly

Calls 2

has_logMethod · 0.80
ensure_logMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…