MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / sha

Method sha

github/GitCommit.py:142–147  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

140
141 @property
142 def sha(self) -> str:
143 # if populated from a simple-commit, id actually holds the sha
144 if is_undefined(self._sha) and is_defined(self._id):
145 return self._id.value
146 self._completeIfNotSet(self._sha)
147 return self._sha.value
148
149 @property
150 def timestamp(self) -> datetime:

Callers

nothing calls this directly

Calls 3

is_undefinedFunction · 0.90
is_definedFunction · 0.90
_completeIfNotSetMethod · 0.80

Tested by

no test coverage detected