Elijah Newren | f565385 | 2023-05-16 06:33:50 +0000 | [diff] [blame] | 1 | #ifndef NAME_HASH_H |
| 2 | #define NAME_HASH_H |
| 3 | |
| 4 | struct cache_entry; |
| 5 | struct index_state; |
| 6 | |
| 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); |
| 10 | |
| 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); |
| 15 | |
| 16 | #endif /* NAME_HASH_H */ |