X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=dir.h;h=278d84cdf7df01c33a45e6dc9c20592cecff9d85;hb=6822052427353525fe7158398bc6cf4bbd5d1351;hp=3bead5f0e25a864c34f515b7bff4c89b55ce84fe;hpb=8165952517bf82b6a632cefc047ad14f36a74b25;p=thirdparty%2Fgit.git diff --git a/dir.h b/dir.h index 3bead5f0e2..278d84cdf7 100644 --- a/dir.h +++ b/dir.h @@ -72,6 +72,7 @@ extern int read_directory(struct dir_struct *, const char *path, int len, const extern int excluded_from_list(const char *pathname, int pathlen, const char *basename, int *dtype, struct exclude_list *el); extern int excluded(struct dir_struct *, const char *, int *); +struct dir_entry *dir_add_ignored(struct dir_struct *dir, const char *pathname, int len); extern int add_excludes_from_file_to_list(const char *fname, const char *base, int baselen, char **buf_p, struct exclude_list *which, int check_index); extern void add_excludes_from_file(struct dir_struct *, const char *fname);