dulwich.config.StackedConfig(Config)
class documentationdulwich.config
(View In Hierarchy)
Method | __init__ | Undocumented |
Method | __repr__ | Undocumented |
Class Method | default | Undocumented |
Class Method | default_backends | Retrieve the default configuration. |
Method | get | Retrieve the contents of a configuration setting. |
Method | set | Set a configuration value. |
Inherited from Config:
Method | get_boolean | Retrieve a configuration setting as boolean. |
Method | iteritems | Iterate over the configuration pairs for a specific section. |
Method | itersections | Iterate over the sections. |
Method | has_section | Check if a specified section exists. |
Retrieve the default configuration.
See git-config(1) for details on the files searched.
Parameters | section | Tuple with section name and optional subsection namee |
subsection | Subsection name | |
Returns | Contents of the setting | |
Raises | KeyError | if the value is not set |
Parameters | section | Tuple with section name and optional subsection namee |
name | Name of the configuration value, including section and optional subsection | |
Value of the setting |