https://github.com/git/git
Raw File
Tip revision: a59b9c9c6bcce0650d550eaa23aa0fb1842ec200 authored by Shourya Shukla on 15 January 2020, 12:20:16 UTC
t6025: use of helpers to replace test -f & other changes
Tip revision: a59b9c9
wildmatch.h
#ifndef WILDMATCH_H
#define WILDMATCH_H

#define WM_CASEFOLD 1
#define WM_PATHNAME 2

#define WM_NOMATCH 1
#define WM_MATCH 0
#define WM_ABORT_ALL -1
#define WM_ABORT_TO_STARSTAR -2

int wildmatch(const char *pattern, const char *text, unsigned int flags);
#endif
back to top