foundry_dev_tools.utils.repo module#
This file provides helper function for git repos.
- foundry_dev_tools.utils.repo.get_repo(repo_dir=None)[source]#
Get the repository RID of the current working directory.
- foundry_dev_tools.utils.repo.get_git_ref(git_dir=None)[source]#
Get the branch ref in the supplied git directory.
- foundry_dev_tools.utils.repo.get_git_revision_hash(git_dir=None)[source]#
Get the git revision hash.