git_transport.negotiate_fetch

Negotiate a fetch with the remote repository.

This function may be called after a successful call to connect(), when the direction is git_direction.GIT_DIRECTION_FETCH. The function performs a negotiation to calculate the wants list for the fetch.

struct git_transport
int function(.git_transport* transport, libgit2_d.types.git_repository* repo, const(libgit2_d.types.git_remote_head)** refs, size_t count) negotiate_fetch;

Meta