Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/commitizen-tools/commitizen
/ __hash__
Method
__hash__
commitizen/git.py:56–57 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
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):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected