dir-iterator: pass name to `prepare_next_entry_data()` directly
[alt-git.git] / name-hash.h
blobb1b4b0fb337f12eb5878dbedcaa66ae394cba425
1 #ifndef NAME_HASH_H
2 #define NAME_HASH_H
4 struct cache_entry;
5 struct index_state;
7 int index_dir_exists(struct index_state *istate, const char *name, int namelen);
8 void adjust_dirname_case(struct index_state *istate, char *name);
9 struct cache_entry *index_file_exists(struct index_state *istate, const char *name, int namelen, int igncase);
11 int test_lazy_init_name_hash(struct index_state *istate, int try_threaded);
12 void add_name_hash(struct index_state *istate, struct cache_entry *ce);
13 void remove_name_hash(struct index_state *istate, struct cache_entry *ce);
14 void free_name_hash(struct index_state *istate);
16 #endif /* NAME_HASH_H */