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

Method exists

test/test_refdb_backend.py:46–47  ·  view source on GitHub ↗
(self, ref: str)

Source from the content-addressed store, hash-verified

44 self.source = source
45
46 def exists(self, ref: str) -> bool:
47 return self.source.exists(ref)
48
49 def lookup(self, ref: str) -> Reference:
50 return self.source.lookup(ref)

Callers 15

rmtreeFunction · 0.80
test_init_and_updateFunction · 0.80
test_specified_updateFunction · 0.80
test_update_instanceFunction · 0.80
test_oneshot_updateFunction · 0.80
test_new_repoFunction · 0.80
exists_cbMethod · 0.80
test_existsFunction · 0.80
test_refs_compressFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected