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

Method Free

credentials.go:104–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102}
103
104func (o *Credential) Free() {
105 C.git_credential_free(o.ptr)
106 runtime.SetFinalizer(o, nil)
107 o.ptr = nil
108}
109
110// GetUserpassPlaintext returns the plaintext username/password combination stored in the Cred.
111func (o *Credential) GetUserpassPlaintext() (username, password string, err error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected