Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/pygit2
/ __init__
Method
__init__
pygit2/credentials.py:43–44 ·
view source on GitHub ↗
(self, username: str)
Source
from the content-addressed store, hash-verified
41
""
"
42
43
def
__init__(self, username: str):
44
self._username = username
45
46
@property
47
def
credential_type(self) -> CredentialType:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected