git_pathspec_matches_path

Try to match a path against a pathspec

Unlike most of the other pathspec matching functions, this will not fall back on the native case-sensitivity for your platform. You must explicitly pass flags to control case sensitivity or else this will fall back on being case sensitive.

@param ps The compiled pathspec @param flags Combination of git_pathspec_flag_t options to control match @param path The pathname to attempt to match @return 1 is path matches spec, 0 if it does not

extern (C) nothrow @nogc
int
git_pathspec_matches_path
(
const(.git_pathspec)* ps
,
uint flags
,
const(char)* path
)

Meta