git_remote_dup

Create a copy of an existing remote. All internal strings are also duplicated. Callbacks are not duplicated.

Call git_remote_free to free the data.

extern (C) nothrow @nogc
int
git_remote_dup

Parameters

dest libgit2_d.types.git_remote**

pointer where to store the copy

source libgit2_d.types.git_remote*

object to copy

Return Value

Type: int

0 or an error code

Meta