git_credential_ssh_key_from_agent

Create a new ssh key credential object used for querying an ssh-agent. The supplied credential parameter will be internally duplicated.

extern (C) nothrow @nogc
int
git_credential_ssh_key_from_agent
(,
const(char)* username
)

Parameters

out_ .git_credential**

The newly created credential object.

username const(char)*

username to use to authenticate

Return Value

Type: int

0 for success or an error code for failure

Meta