libgit2

git_pathspec_match_list_failed_entry

Version:

Get an original pathspec string that had no matches.

This will be return NULL for positions out of range.

Signature

const char *git_pathspec_match_list_failed_entry(const git_pathspec_match_list *m, size_t pos);

Parameters

In
m

The git_pathspec_match_list object

size_t
In
pos

The index into the failed items

Returns

const char *

The pathspec pattern that didn't match anything

Versions