MCPcopy Create free account
hub / github.com/commitizen-tools/commitizen / __eq__

Method __eq__

commitizen/git.py:53–54  ·  view source on GitHub ↗
(self, other: object)

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected