git_credential_username_new

Create a credential to specify a username.

This is used with ssh authentication to query for the username if none is specified in the url.

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

Parameters

out_ .git_credential**

The newly created credential object.

username const(char)*

The username to authenticate with

Return Value

Type: int

0 for success or an error code for failure

Meta