X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=dir.h;h=278d84cdf7df01c33a45e6dc9c20592cecff9d85;hb=452c6d506b1a6dcf24d4ceaa592afc39c1c1a60e;hp=3bead5f0e25a864c34f515b7bff4c89b55ce84fe;hpb=64da6e20de1f2246e2d8d9d85e53ca3cbf393212;p=git.git diff --git a/dir.h b/dir.h index 3bead5f0e..278d84cdf 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);