git_remote_lookup

Get the information for a particular remote

The name will be checked for validity. See git_tag_create() for rules about valid names.

extern (C) nothrow @nogc
int
git_remote_lookup

Parameters

out_ libgit2_d.types.git_remote**

pointer to the new remote object

repo libgit2_d.types.git_repository*

the associated repository

name const(char)*

the remote's name

Return Value

Type: int

0, git_error_code.GIT_ENOTFOUND, git_error_code.GIT_EINVALIDSPEC or an error code

Meta