libgit2

git_pathspec_new

Version:

Compile a pathspec

Signature

int git_pathspec_new(git_pathspec **out, const git_strarray *pathspec);

Parameters

In
out

Output of the compiled pathspec

In
pathspec

A git_strarray of the paths to match

Returns

int

0 on success, < 0 on failure

Versions