dulwich.repo
module documentationdulwich
Repository access.
This module contains the base class for git repositories (BaseRepo) and an implementation which uses a repository on local disk (Repo).
Class | InvalidUserIdentity | User identity is not of the format 'user <email>' |
Function | check_user_identity | Verify that a user identity is formatted correctly. |
Function | parse_graftpoints | Convert a list of graftpoints into a dict |
Function | serialize_graftpoints | Convert a dictionary of grafts into string |
Class | BaseRepo | Base class for a git repository. |
Function | read_gitfile | Read a .git file. |
Class | Repo | A git repository backed by local disk. |
Class | MemoryRepo | Repo that stores refs, objects, and named files in memory. |
Parameters | identity | User identity bytestring |
Raises | InvalidUserIdentity | Raised when identity is invalid |
Convert a list of graftpoints into a dict
https://git.wiki.kernel.org/index.php/GraftPoint
Parameters | graftpoints | Iterator of graftpoint lines |
Convert a dictionary of grafts into string
https://git.wiki.kernel.org/index.php/GraftPoint