| 44 | } |
| 45 | |
| 46 | static struct dir_entry *find_dir_entry__hash(struct index_state *istate, |
| 47 | const char *name, unsigned int namelen, unsigned int hash) |
| 48 | { |
| 49 | struct dir_entry key; |
| 50 | hashmap_entry_init(&key.ent, hash); |
| 51 | key.namelen = namelen; |
| 52 | return hashmap_get_entry(&istate->dir_hash, &key, ent, name); |
| 53 | } |
| 54 | |
| 55 | static struct dir_entry *find_dir_entry(struct index_state *istate, |
| 56 | const char *name, unsigned int namelen) |
no test coverage detected