libgit2

git_strarray_copy

Version:

Copy a string array object from source to target.

This function is deprecated, but there is no plan to remove this function at this time.

Signature

int git_strarray_copy(git_strarray *tgt, const git_strarray *src);

Parameters

In
tgt

target

In
src

source

Returns

int

0 on success, < 0 on allocation failure

Versions