class documentation
class BackendRepo(object):
Repository abstraction used by the Git server.
The methods required here are a subset of those provided by dulwich.repo.Repo.
Method | fetch |
Yield the objects required for a list of commits. |
Method | get |
Return the cached peeled value of a ref, if available. |
Method | get |
Get all the refs in the repository |
Class Variable | object |
Undocumented |
Class Variable | refs |
Undocumented |
Yield the objects required for a list of commits.
Parameters | |
determine | Undocumented |
graph | Undocumented |
progress | is a callback to send progress messages to the client |
get | Function that returns a dict of pointed-to sha -> tag sha for including tags. |
Return the cached peeled value of a ref, if available.
- Returns: The 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.
Parameters | |
name:bytes | Name of the ref to peel |
Returns | |
Optional[ | Undocumented |