dicfg.addons.modifiers.GitRepoModifier# class GitRepoModifier[source]# Bases: ModifierAddon __init__()# Methods __init__() get_addon(name) modify(repo_path) Given a path to a Git repository, returns a string containing the current commit hash and, if the repository is dirty, a " (dirty)" flag. Attributes NAME classmethod modify(repo_path)[source]# Given a path to a Git repository, returns a string containing the current commit hash and, if the repository is dirty, a “ (dirty)” flag.