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

Method exists_prefix_cb

test/test_odb_backend.py:88–89  ·  view source on GitHub ↗
(self, oid: Oid | str)

Source from the content-addressed store, hash-verified

86 return self.source.exists(oid)
87
88 def exists_prefix_cb(self, oid: Oid | str) -> Oid:
89 return self.source.exists_prefix(oid)
90
91 def refresh_cb(self) -> None:
92 self.source.refresh()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected