git_remote_ls

Get the remote repository's reference advertisement list

Get the list of references with which the server responds to a new connection.

The remote (or more exactly its transport) must have connected to the remote repository. This list is available as soon as the connection to the remote is initiated and it remains available after disconnecting.

The memory belongs to the remote. The pointer will be valid as long as a new connection is not initiated, but it is recommended that you make a copy in order to make use of the data.

extern (C) nothrow @nogc
int
git_remote_ls

Parameters

out_ const(libgit2_d.types.git_remote_head)***

pointer to the array

size size_t*

the number of remote heads

remote libgit2_d.types.git_remote*

the remote

Return Value

Type: int

0 on success, or an error code

Meta