Module whichgit

Source

Enums§

GitDirError

Functions§

git_working_dir
Return None if cwd not in a Git repository, Some with the path if cwd is, and return an error if the path cannot be decoded as a string or Git is not available.