4 #define PATHSPEC_ONESTAR 1 /* the pathspec pattern sastisfies GFNM_ONESTAR */
7 const char **raw
; /* get_pathspec() result, not freed by free_pathspec() */
9 unsigned int has_wildcard
:1;
10 unsigned int recursive
:1;
12 struct pathspec_item
{
20 extern int init_pathspec(struct pathspec
*, const char **);
21 extern void copy_pathspec(struct pathspec
*dst
, const struct pathspec
*src
);
22 extern void free_pathspec(struct pathspec
*);
24 extern int limit_pathspec_to_literal(void);
26 extern char *find_pathspecs_matching_against_index(const char **pathspec
);
27 extern void add_pathspec_matches_against_index(const char **pathspec
, char *seen
, int specs
);
28 extern const char *check_path_for_gitlink(const char *path
);
29 extern void die_if_path_beyond_symlink(const char *path
, const char *prefix
);
31 #endif /* PATHSPEC_H */