mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
![Phillip Wood](/assets/img/avatar_default.png)
WM_ABORT_ALL and WM_ABORT_TO_STARSTAR are used internally to limit backtracking when a match fails, they are not of interest to the caller and so should not be public. Suggested-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
12 lines
208 B
C
12 lines
208 B
C
#ifndef WILDMATCH_H
|
|
#define WILDMATCH_H
|
|
|
|
#define WM_CASEFOLD 1
|
|
#define WM_PATHNAME 2
|
|
|
|
#define WM_NOMATCH 1
|
|
#define WM_MATCH 0
|
|
|
|
int wildmatch(const char *pattern, const char *text, unsigned int flags);
|
|
#endif
|