| 46 | |
| 47 | |
| 48 | class GitObject: |
| 49 | rev: str |
| 50 | name: str |
| 51 | date: str |
| 52 | |
| 53 | def __eq__(self, other: object) -> bool: |
| 54 | return hasattr(other, "rev") and self.rev == other.rev |
| 55 | |
| 56 | def __hash__(self) -> int: |
| 57 | return hash(self.rev) |
| 58 | |
| 59 | |
| 60 | class GitCommit(GitObject): |
nothing calls this directly
no outgoing calls
no test coverage detected