git_submodule_dup

Create an in-memory copy of a submodule. The copy must be explicitly free'd or it will leak.

extern (C) nothrow @nogc public
int
git_submodule_dup

Parameters

out_ libgit2.types.git_submodule**

Pointer to store the copy of the submodule.

source libgit2.types.git_submodule*

Original submodule to copy.

Return Value

Type: int

0

Meta