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

Function test_exists

test/test_odb_backend.py:131–136  ·  view source on GitHub ↗
(proxy: ProxyBackend)

Source from the content-addressed store, hash-verified

129
130
131def test_exists(proxy: ProxyBackend) -> None:
132 with pytest.raises(TypeError):
133 proxy.exists(123) # type: ignore
134
135 assert not proxy.exists('1' * 40)
136 assert proxy.exists(BLOB_HEX)
137
138
139def test_exists_prefix(proxy: ProxyBackend) -> 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…