Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/pygit2
/ exists_cb
Method
exists_cb
test/test_odb_backend.py:85–86 ·
view source on GitHub ↗
(self, oid: Oid | str)
Source
from the content-addressed store, hash-verified
83
return
typ, len(data)
84
85
def
exists_cb(self, oid: Oid | str) -> bool:
86
return
self.source.exists(oid)
87
88
def
exists_prefix_cb(self, oid: Oid | str) -> Oid:
89
return
self.source.exists_prefix(oid)
Callers
nothing calls this directly
Calls
1
exists
Method · 0.80
Tested by
no test coverage detected