MCPcopy Create free account
hub / github.com/libgit2/git2go / newCredential

Function newCredential

credentials.go:87–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85}
86
87func newCredential() *Credential {
88 cred := &Credential{}
89 runtime.SetFinalizer(cred, (*Credential).Free)
90 return cred
91}
92
93func (o *Credential) HasUsername() bool {
94 if C.git_credential_has_username(o.ptr) == 1 {

Callers 8

SmartCredentialsMethod · 0.85
NewCredentialUsernameFunction · 0.85
NewCredentialSSHKeyFunction · 0.85
NewCredentialDefaultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…