Expand what is included in the API Reference by EliahKagan · Pull Request #1855 · gitpython-developers/GitPython
@classmethod def refresh(cls, path: Union[None, PathLike] = None) -> bool: """This gets called by the refresh function (see the top level ``__init__``). """Update information about the git executable :class:`Git` objects will use.
Called by the :func:`git.refresh` function in the top level ``__init__``.
:param path: Optional path to the git executable. If not absolute, it is resolved
<hex_sha> type_string size_as_int
:return: (hex_sha, type_string, size_as_int)
def stream_object_data(self, ref: str) -> Tuple[str, str, int, "Git.CatFileContentStream"]: """Similar to :meth:`get_object_header`, but returns the data as a stream. """Similar to :meth:`get_object_data`, but returns the data as a stream.
:return: (hexsha, type_string, size_as_int, stream)