MCPcopy Create free account
hub / github.com/git/git / subprocess_find_entry

Function subprocess_find_entry

sub-process.c:22–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22struct 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
31int subprocess_read_status(int fd, struct strbuf *status)
32{

Callers 2

apply_multi_file_filterFunction · 0.85

Calls 2

hashmap_entry_initFunction · 0.85
strhashFunction · 0.85

Tested by

no test coverage detected