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

Function NewCredSshKeyFromMemory

deprecated.go:61–63  ·  view source on GitHub ↗

Deprecated: NewCredSshKeyFromMemory is a deprecated alias of NewCredentialSSHKeyFromMemory.

(username string, publicKey string, privateKey string, passphrase string)

Source from the content-addressed store, hash-verified

59
60// Deprecated: NewCredSshKeyFromMemory is a deprecated alias of NewCredentialSSHKeyFromMemory.
61func NewCredSshKeyFromMemory(username string, publicKey string, privateKey string, passphrase string) (*Cred, error) {
62 return NewCredentialSSHKeyFromMemory(username, publicKey, privateKey, passphrase)
63}
64
65// Deprecated: NewCredSshKeyFromAgent is a deprecated alias of NewCredentialSSHFromAgent.
66func NewCredSshKeyFromAgent(username string) (*Cred, error) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…