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

Function NewCredSshKey

deprecated.go:56–58  ·  view source on GitHub ↗

Deprecated: NewCredSshKey is a deprecated alias of NewCredentialSshKey.

(username string, publicKeyPath string, privateKeyPath string, passphrase string)

Source from the content-addressed store, hash-verified

54
55// Deprecated: NewCredSshKey is a deprecated alias of NewCredentialSshKey.
56func NewCredSshKey(username string, publicKeyPath string, privateKeyPath string, passphrase string) (*Cred, error) {
57 return NewCredentialSSHKey(username, publicKeyPath, privateKeyPath, passphrase)
58}
59
60// Deprecated: NewCredSshKeyFromMemory is a deprecated alias of NewCredentialSSHKeyFromMemory.
61func NewCredSshKeyFromMemory(username string, publicKey string, privateKey string, passphrase string) (*Cred, error) {

Callers

nothing calls this directly

Calls 1

NewCredentialSSHKeyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…