| 20 | } |
| 21 | |
| 22 | struct subprocess_entry *subprocess_find_entry(struct hashmap *hashmap, const char *cmd) |
| 23 | { |
| 24 | struct subprocess_entry key; |
| 25 | |
| 26 | hashmap_entry_init(&key.ent, strhash(cmd)); |
| 27 | key.cmd = cmd; |
| 28 | return hashmap_get_entry(hashmap, &key, ent, NULL); |
| 29 | } |
| 30 | |
| 31 | int subprocess_read_status(int fd, struct strbuf *status) |
| 32 | { |
no test coverage detected