MCPcopy Create free account
hub / github.com/libgit2/pygit2 / __init__

Method __init__

pygit2/callbacks.py:129–138  ·  view source on GitHub ↗
(
        self,
        credentials: _Credentials | None = None,
        certificate_check: Callable[[None, bool, bytes], bool] | None = None,
    )

Source from the content-addressed store, hash-verified

127 push_options: Any
128
129 def __init__(
130 self,
131 credentials: _Credentials | None = None,
132 certificate_check: Callable[[None, bool, bytes], bool] | None = None,
133 ) -> None:
134 super().__init__()
135 if credentials is not None:
136 self.credentials = credentials # type: ignore[method-assign, assignment]
137 if certificate_check is not None:
138 self.certificate_check = certificate_check # type: ignore[method-assign, assignment]
139
140 def sideband_progress(self, string: str) -> None:
141 """

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected