cola.gitcfg – Interface to git config data

class cola.gitcfg.GitConfig

Encapsulate access to git-config values.

all()
find(pat)
get(key, default=None)

Return the string value for a config key.

get_encoding(default='utf-8')
get_guitool_names()
get_guitool_opts(name)

Return the guitool.<name> namespace as a dict

read_config(path)

Return git config data from a path as a dictionary.

repo()
reset()
update()

Read config values from git.

user()

Previous topic

cola.difftool – Difftool helpers

Next topic

cola.git – Interface to the git command

This Page