Manage references in info/refs object.
Method __init__ Undocumented
Method set_if_equals Set a refname to new_ref only if it currently equals old_ref.
Method remove_if_equals Remove a refname only if it currently equals old_ref.
Method allkeys All refs present in this container.
Method _load_check_ref Undocumented
Method _write_refs Undocumented

Inherited from RefsContainer (via InfoRefsContainer):

Method set_symbolic_ref Make a ref point at another ref.
Method import_refs Undocumented
Method keys Refs present in this container.
Method subkeys Refs present in this container under a base.
Method as_dict Return the contents of this container as a dictionary.
Method read_ref Read a reference without following any references.
Method follow Follow a reference name.
Method __contains__ Undocumented
Method __getitem__ Get the SHA1 for a reference name.
Method add_if_new Add a new reference only if it does not already exist.
Method __setitem__ Set a reference name to point to the given SHA1.
Method __delitem__ Remove a refname.
Method get_symrefs Get a dict with all symrefs in this container.
Method _log Undocumented
Method _check_refname Ensure a refname is valid and lives in refs or is HEAD.
Method _follow Undocumented

Inherited from RefsContainer (via InfoRefsContainer):

Method set_symbolic_ref Make a ref point at another ref.
Method import_refs Undocumented
Method keys Refs present in this container.
Method subkeys Refs present in this container under a base.
Method as_dict Return the contents of this container as a dictionary.
Method read_ref Read a reference without following any references.
Method follow Follow a reference name.
Method __contains__ Undocumented
Method __getitem__ Get the SHA1 for a reference name.
Method add_if_new Add a new reference only if it does not already exist.
Method __setitem__ Set a reference name to point to the given SHA1.
Method __delitem__ Remove a refname.
Method get_symrefs Get a dict with all symrefs in this container.
Method _log Undocumented
Method _check_refname Ensure a refname is valid and lives in refs or is HEAD.
Method _follow Undocumented
def __init__(self, scon, store):
def _load_check_ref(self, name, old_ref):
Undocumented
def _write_refs(self, refs):
Undocumented
def set_if_equals(self, name, old_ref, new_ref):
Set a refname to new_ref only if it currently equals old_ref.
def remove_if_equals(self, name, old_ref):
Remove a refname only if it currently equals old_ref.
def allkeys(self):
All refs present in this container.
API Documentation for Dulwich, generated by pydoctor at 2018-11-17 19:05:54.