git_transport_ssh_with_paths

Create an ssh transport with custom git command paths

This is a factory function suitable for setting as the transport callback in a remote (or for a clone in the options).

The payload argument must be a strarray pointer with the paths for the git-upload-pack and git-receive-pack at index 0 and 1.

package extern (C) nothrow @nogc
int
git_transport_ssh_with_paths

Parameters

out_ .git_transport**

the resulting transport

owner libgit2_d.types.git_remote*

the owning remote

payload void*

a strarray with the paths

Return Value

Type: int

0 or an error code

Meta