/usr/share/doc/python-pygit2-doc/html/_sources/config.rst.txt is in python-pygit2-doc 0.26.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | **********************************************************************
Configuration files
**********************************************************************
.. autoattribute:: pygit2.Repository.config
The Config type
================
.. automethod:: pygit2.Config.get_system_config
.. automethod:: pygit2.Config.get_global_config
.. automethod:: pygit2.Config.add_file
.. automethod:: pygit2.Config.get_multivar
.. automethod:: pygit2.Config.set_multivar
.. method:: Config.__iter__()
The :class:`Config` class has an iterator which can be used to loop
through all the entries in the configuration. Each element is a tuple
containing the name and the value of each configuration variable. Be
aware that this may return multiple versions of each entry if they are
set multiple times in the configuration files.
.. currentmodule:: pygit2
The :class:`Config` Mapping interface.
When using the mapping interface, the value is returned as a
string. In order to apply the git-config parsing rules, you can use
:meth:`Config.get_bool` or :meth:`Config.get_int`.
.. automethod:: pygit2.Config.get_bool
.. automethod:: pygit2.Config.get_int
|