Repository abstraction used by the Git server.

The methods required here are a subset of those provided by dulwich.repo.Repo.

Method get_refs Get all the refs in the repository
Method get_peeled Return the cached peeled value of a ref, if available.
Method fetch_objects Yield the objects required for a list of commits.
def get_refs(self):
Get all the refs in the repository
Returnsdict of name -> sha
def get_peeled(self, name):
Return the cached peeled value of a ref, if available.
ParametersnameName of the ref to peel
ReturnsThe peeled value of the ref. If the ref is known not point to a tag, this will be the SHA the ref refers to. If no cached information about a tag is available, this method may return None, but it should attempt to peel the tag if possible.
def fetch_objects(self, determine_wants, graph_walker, progress, get_tagged=None):
Yield the objects required for a list of commits.
Parametersprogressis a callback to send progress messages to the client
get_taggedFunction that returns a dict of pointed-to sha -> tag sha for including tags.
API Documentation for Dulwich, generated by pydoctor at 2018-11-17 19:05:54.