gitutils
gitutils ¶
Module for git utils
Classes¶
NoGitHashAvailableError ¶
Bases: Exception
Exception for when no git hash is available
Functions¶
get_git_revision_hash ¶
Get the git revision hash of the repository located in the path
Source code in niceml/utilities/gitutils.py
get_git_revision_of_module ¶
get_module_dir ¶
produce_git_version_yaml ¶
Produce a yaml file with the git hashes of the given directories and modules