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

Method read_prefix_cb

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

Source from the content-addressed store, hash-verified

76 return self.source.read(oid)
77
78 def read_prefix_cb(self, oid: Oid | str) -> tuple[int, bytes, Oid]:
79 return self.source.read_prefix(oid)
80
81 def read_header_cb(self, oid: Oid | str) -> tuple[int, int]:
82 typ, data = self.source.read(oid)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected