]> git.ipfire.org Git - thirdparty/git.git/blobdiff - pathspec.h
dir.h: refactor to no longer need to include cache.h
[thirdparty/git.git] / pathspec.h
index 41f6adfbb421fee745e3717ffd57ff92acfc82b1..a5b38e0907a9b8c498d643653d445ed7cd71fe02 100644 (file)
@@ -171,6 +171,11 @@ int match_pathspec_attrs(struct index_state *istate,
                         const char *name, int namelen,
                         const struct pathspec_item *item);
 
+int match_pathspec(struct index_state *istate,
+                  const struct pathspec *pathspec,
+                  const char *name, int namelen,
+                  int prefix, char *seen, int is_dir);
+
 /*
  * Determine whether a pathspec will match only entire index entries (non-sparse
  * files and/or entire sparse directories). If the pathspec has the potential to