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

Method HasUsername

credentials.go:93–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91}
92
93func (o *Credential) HasUsername() bool {
94 if C.git_credential_has_username(o.ptr) == 1 {
95 return true
96 }
97 return false
98}
99
100func (o *Credential) Type() CredentialType {
101 return (CredentialType)(C._go_git_credential_credtype(o.ptr))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected