dulwich.config.Config(object)
class documentationdulwich.config
(View In Hierarchy)
Known subclasses: dulwich.config.ConfigDict, dulwich.config.StackedConfig
Method | get | Retrieve the contents of a configuration setting. |
Method | get_boolean | Retrieve a configuration setting as boolean. |
Method | set | Set a configuration value. |
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. |
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 setting, including section and possible subsection. | |
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 |
Parameters | section | Tuple with section name and optional subsection namee |
Returns | Iterator over (name, value) pairs |
Returns | Iterator over section tuples |