Reading and writing Git configuration files.

TODO:
  • preserve formatting when updating configuration files
  • treat subsection names as case-insensitive for [branch.foo] style subsections
Function lower_key Undocumented
Class CaseInsensitiveDict Undocumented
Class Config A Git configuration.
Class ConfigDict Git configuration stored in a dictionary.
Class ConfigFile A Git configuration file, like .git/config or ~/.gitconfig.
Class StackedConfig Configuration which reads from multiple config files..
Function parse_submodules Parse a gitmodules GitConfig file, returning submodules.
Function _format_string Undocumented
Function _parse_string Undocumented
Function _escape_value Escape a value.
Function _check_variable_name Undocumented
Function _check_section_name Undocumented
Function _strip_comments Undocumented
def lower_key(key):
Undocumented
def _format_string(value):
Undocumented
def _parse_string(value):
Undocumented
def _escape_value(value):
Escape a value.
def _check_variable_name(name):
Undocumented
def _check_section_name(name):
Undocumented
def _strip_comments(line):
Undocumented
def parse_submodules(config):
Parse a gitmodules GitConfig file, returning submodules.
ParametersconfigA ConfigFile
Returnslist of tuples (submodule path, url, name), where name is quoted part of the section's name.
API Documentation for Dulwich, generated by pydoctor at 2018-11-17 19:05:54.