git_credential_has_username

Check whether a credential object contains username information.

extern (C) nothrow @nogc
int
git_credential_has_username

Parameters

cred .git_credential*

object to check

Return Value

Type: int

1 if the credential object has non-NULL username, 0 otherwise

Meta