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

Method __init__

pygit2/credentials.py:108–118  ·  view source on GitHub ↗
(
        self,
        username: str,
        pubkey: str | Path | None,
        privkey: str | Path | None,
        passphrase: str | None,
    )

Source from the content-addressed store, hash-verified

106 """
107
108 def __init__(
109 self,
110 username: str,
111 pubkey: str | Path | None,
112 privkey: str | Path | None,
113 passphrase: str | None,
114 ):
115 self._username = username
116 self._pubkey = pubkey
117 self._privkey = privkey
118 self._passphrase = passphrase
119
120 @property
121 def credential_type(self) -> CredentialType:

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected