git
Source code: sensai/util/git.py
-
class GitStatus(commit: str, has_unstaged_changes: bool, has_staged_uncommitted_changes: bool, has_untracked_files: bool)[source]
Bases: ToStringMixin
-
commit: str
-
has_unstaged_changes: bool
-
has_staged_uncommitted_changes: bool
-
has_untracked_files: bool
-
property is_clean: bool
-
git_status() → Optional[GitStatus][source]